Zend\XmlRpc\Client
An XML-RPC client implementation
Synopsis
class Client
implements
Client
{
- // members
- protected string $serverAddress;
- protected Client $httpClient;
- protected ServerIntrospection $introspector;
- protected Request $lastRequest;
- protected Response $lastResponse;
- protected array $proxyCache;
- protected bool $skipSystemLookup;
- // methods
- public void __construct()
- public Client setHttpClient()
- public Client getHttpClient()
- public ServerIntrospection setIntrospector()
- public ServerIntrospection getIntrospector()
- public Request getLastRequest()
- public Response getLastResponse()
- public ServerProxy getProxy()
- public Client setSkipSystemLookup()
- public bool skipSystemLookup()
- public void doRequest()
- public mixed call()
- protected Request _createRequest()
Hierarchy
Implements
Members
protected
- $httpClient
—
\Zend\Http\Client
HTTP Client to use for requests - $introspector
—
\Zend\XmlRpc\Client\ServerIntrospection
Introspection object - $lastRequest
—
\Zend\XmlRpc\Request
Request of the last method call - $lastResponse
—
\Zend\XmlRpc\Response
Response received from the last method call - $proxyCache
—
array
Proxy object for more convenient method calls - $serverAddress
—
string
Full address of the XML-RPC service - $skipSystemLookup
—
Zend\XmlRpc\bool
Flag for skipping system lookup
Methods
protected
- _createRequest() — Create request object
public
- __construct() — Create a new XML-RPC client to a remote server
- call() — Send an XML-RPC request to the service (for a specific method)
- doRequest() — Perform an XML-RPC request and return a response.
- getHttpClient() — Gets the HTTP client object.
- getIntrospector() — Gets the introspection object.
- getLastRequest() — The request of the last method call
- getLastResponse() — The response received from the last method call
- getProxy() — Returns a proxy object for more convenient method calls
- setHttpClient() — Sets the HTTP client object to use for connecting the XML-RPC server.
- setIntrospector() — Sets the object used to introspect remote servers
- setSkipSystemLookup() — Set skip system lookup flag
- skipSystemLookup() — Skip system lookup when determining if parameter should be array or struct?