__construct()
call()
doRequest()
getHttpClient()
getIntrospector()
getLastRequest()
getLastResponse()
getProxy()
setHttpClient()
setIntrospector()
setSkipSystemLookup()
skipSystemLookup()
_createRequest()
$httpClient
$introspector
$lastRequest
$lastResponse
$proxyCache
$serverAddress
$skipSystemLookup
An XML-RPC client implementation
__construct(string $server, \Zend\Http\Client $httpClient)
stringFull address of the XML-RPC service (e.g. http://time.xmlrpc.com/RPC2)
call(string $method, array $params) : mixed
Unified interface for calling custom remote methods.
stringName of the method we want to call
arrayArray of parameters for the method
\Zend\XmlRpc\Client\Exception\FaultException |
|---|
mixeddoRequest(\Zend\XmlRpc\Request $request, null | \Zend\XmlRpc\Response $response) : void
\Zend\XmlRpc\Request
null\Zend\XmlRpc\Response
\Zend\XmlRpc\Client\Exception\HttpException |
|---|
getIntrospector() : \Zend\XmlRpc\Client\ServerIntrospection
getProxy(string $namespace) : \Zend\XmlRpc\Client\ServerProxy
stringNamespace to proxy or empty string for none
setHttpClient(\Zend\Http\Client $httpClient) : \Zend\Http\Client
setIntrospector(\Zend\XmlRpc\Client\ServerIntrospection $introspector) : \Zend\XmlRpc\Client\ServerIntrospection
\Zend\XmlRpc\Client\ServerIntrospection
skipSystemLookup() : bool
bool$proxyCache : array
$serverAddress : string
| example | http://time.xmlrpc.com/RPC2 |
|---|
$skipSystemLookup : bool