From 1aa9adb6c53bb229ec6b25395237213750daf132 Mon Sep 17 00:00:00 2001 From: gggeek Date: Tue, 17 Jan 2023 17:59:14 +0000 Subject: [PATCH] comments --- src/Server.php | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/Server.php b/src/Server.php index ed654414..c7c06719 100644 --- a/src/Server.php +++ b/src/Server.php @@ -1016,12 +1016,14 @@ class Server 'specVersion' => 1 ), // if we support system.xxx functions, we always support multicall, too... - // Note that, as of 2006/09/17, the following URL does not respond anymore 'system.multicall' => array( + // Note that, as of 2006/09/17, the following URL does not respond anymore 'specUrl' => 'http://www.xmlrpc.com/discuss/msgReader$1208', 'specVersion' => 1 ), - // introspection: version 2! we support 'mixed', too + // introspection: version 2! we support 'mixed', too. + // note: the php xml-rpc extension says this instead: + // url http://xmlrpc-epi.sourceforge.net/specs/rfc.introspection.php, version 20010516 'introspection' => array( 'specUrl' => 'http://phpxmlrpc.sourceforge.net/doc-2/ch10.html', 'specVersion' => 2, @@ -1031,11 +1033,20 @@ class Server // NIL extension if (PhpXmlRpc::$xmlrpc_null_extension) { $outAr['nil'] = array( + // Note that, as of 2023/01, the following URL does not respond anymore 'specUrl' => 'http://www.ontosys.com/xml-rpc/extensions.php', 'specVersion' => 1 ); } + /// @todo add support for "standard" error codes + //if (...) { + // $outAr['faults_interop'] = array( + // 'specUrl' => 'http://xmlrpc-epi.sourceforge.net/specs/rfc.fault_codes.php', + // 'specVersion' => 20010516 + // ); + //} + return $outAr; } -- 2.47.0