Class Client

Summary

Fully Qualified Name: Zend\XmlRpc\Client
Implements: Client

Description

An XML-RPC client implementation

Methods

Name Description Defined By
__construct() Create a new XML-RPC client to a remote server Client
call() Send an XML-RPC request to the service (for a specific method) Client
doRequest() Perform an XML-RPC request and return a response. Client
getHttpClient() Gets the HTTP client object. Client
getIntrospector() Gets the introspection object. Client
getLastRequest() The request of the last method call Client
getLastResponse() The response received from the last method call Client
getProxy() Returns a proxy object for more convenient method calls Client
setHttpClient() Sets the HTTP client object to use for connecting the XML-RPC server. Client
setIntrospector() Sets the object used to introspect remote servers Client
setSkipSystemLookup() Set skip system lookup flag Client
skipSystemLookup() Skip system lookup when determining if parameter should be array or struct? Client

Method Details

__construct()

Create a new XML-RPC client to a remote server

Parameter Name Type Description
$server string Full
$httpClient \Zend\Http\Client HTTP

Returns:

call()

Send an XML-RPC request to the service (for a specific method)

Parameter Name Type Description
$method string Name
$params array Array

Returns: mixed

doRequest()

Perform an XML-RPC request and return a response.

Parameter Name Type Description
$request \Zend\XmlRpc\Request
$response null|\Zend\XmlRpc\Response

Returns: void

getHttpClient()

Gets the HTTP client object.

Returns: \Zend\Http\Client

getIntrospector()

Gets the introspection object.

Returns: \Zend\XmlRpc\Client\ServerIntrospection

getLastRequest()

The request of the last method call

Returns: \Zend\XmlRpc\Request

getLastResponse()

The response received from the last method call

Returns: \Zend\XmlRpc\Response

getProxy()

Returns a proxy object for more convenient method calls

Parameter Name Type Description
$namespace string Namespace

Returns: \Zend\XmlRpc\Client\ServerProxy

setHttpClient()

Sets the HTTP client object to use for connecting the XML-RPC server.

Parameter Name Type Description
$httpClient \Zend\Http\Client

Returns: \Zend\Http\Client

setIntrospector()

Sets the object used to introspect remote servers

Parameter Name Type Description
$ \Zend\XmlRpc\Client\ServerIntrospection
$introspector

Returns: \Zend\XmlRpc\Client\ServerIntrospection

setSkipSystemLookup()

Set skip system lookup flag

Parameter Name Type Description
$flag bool

Returns: \Zend\XmlRpc\Client

skipSystemLookup()

Skip system lookup when determining if parameter should be array or struct?

Returns: bool

Top