This statically called method is actually the RPC client.
public static request ( string $driver, string | Horde_Url $url, string $method, mixed $client, array $params = null ) : mixed | ||
$driver | string | The protocol driver to use. Currently 'soap', 'xmlrpc' and 'jsonrpc' are available. |
$url | string | Horde_Url | The path to the RPC server on the called host. |
$method | string | The method to call. |
$client | mixed | An appropriate request client for the type of request. (Horde_Http_Request, SoapClient etc..) |
$params | array | A hash containing any necessary parameters for the method call. |
return | mixed | The returned result from the method |