_xmlrpc

function _xmlrpc

_xmlrpc($url, $args, $options = array())

Performs one or more XML-RPC requests.

Parameters

$url: An absolute URL of the XML-RPC endpoint, e.g., http://example.com/xmlrpc.php

$args: An associative array whose keys are the methods to call and whose values are the arguments to pass to the respective method. If multiple methods are specified, a system.multicall is performed.

$options: (optional) An array of options to pass along to drupal_http_request().

Return value

A single response (single request) or an array of responses (multicall request). Each response is the return value of the method,