You are here

function xmlrpc_server_get_capabilities in xmlrpc 8

Returns a list of the capabilities of this server.

XML-RPC method system.getCapabilities maps to this function.

Return value

array Array of server capabilities.

See also

http://groups.yahoo.com/group/xml-rpc/message/2897

1 string reference to 'xmlrpc_server_get_capabilities'
xmlrpc_server in ./xmlrpc.server.inc
Invokes XML-RPC methods on this server.

File

./xmlrpc.server.inc, line 334
Page callback file for the xmlrpc module.

Code

function xmlrpc_server_get_capabilities() {
  return [
    'xmlrpc' => [
      'specUrl' => 'http://www.xmlrpc.com/spec',
      'specVersion' => 1,
    ],
    'faults_interop' => [
      'specUrl' => 'http://xmlrpc-epi.sourceforge.net/specs/rfc.fault_codes.php',
      'specVersion' => 20010516,
    ],
    'system.multicall' => [
      'specUrl' => 'http://www.xmlrpc.com/discuss/msgReader$1208',
      'specVersion' => 1,
    ],
    'introspection' => [
      'specUrl' => 'http://scripts.incutio.com/xmlrpc/introspection.html',
      'specVersion' => 1,
    ],
  ];
}