Свойство | Тип | Описание | |
---|---|---|---|
$_server | resource | Resource handler for the XMLRPC server. |
Метод | Описание | |
---|---|---|
__construct ( $request, $params = [] ) | XMLRPC server constructor | |
_dispatcher ( string $method, array $params, mixed $data ) : mixed | Will be registered as the handler for all available methods and will call the appropriate function through the registry. | |
getResponse ( $request ) : string | Sends an RPC request to the server and returns the result. | |
request ( string | Horde_Url $url, string $method, Horde_Http_Client $client, array $params = null ) : mixed | Builds an XMLRPC request and sends it to the XMLRPC server. |
public __construct ( $request, $params = [] ) |
public getResponse ( $request ) : string | ||
Результат | string | The XML encoded response from the server. |
public static request ( string | Horde_Url $url, string $method, Horde_Http_Client $client, array $params = null ) : mixed | ||
$url | string | Horde_Url | The path to the XMLRPC server on the called host. |
$method | string | The method to call. |
$client | Horde_Http_Client | The transport client |
$params | array | A hash containing any necessary parameters for the method call. |
Результат | mixed | The returned result from the method. |