| Fully Qualified Name: | Laminas\XmlRpc\Client |
| Implements: | Client |
An XML-RPC client implementation
| 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 |
Create a new XML-RPC client to a remote server
| Parameter Name | Type | Description |
|---|---|---|
| $server | string | Full |
| $httpClient | \Laminas\Http\Client | HTTP |
Returns:
Send an XML-RPC request to the service (for a specific method)
| Parameter Name | Type | Description |
|---|---|---|
| $method | string | Name |
| $params | array | Array |
Returns: mixed
Perform an XML-RPC request and return a response.
| Parameter Name | Type | Description |
|---|---|---|
| $request | \Laminas\XmlRpc\Request | |
| $response | null|\Laminas\XmlRpc\Response |
Returns: void
Gets the HTTP client object.
Returns: \Laminas\Http\Client
Gets the introspection object.
Returns: \Laminas\XmlRpc\Client\ServerIntrospection
The request of the last method call
Returns: \Laminas\XmlRpc\Request
The response received from the last method call
Returns: \Laminas\XmlRpc\Response
Returns a proxy object for more convenient method calls
| Parameter Name | Type | Description |
|---|---|---|
| $namespace | string | Namespace |
Returns: \Laminas\XmlRpc\Client\ServerProxy
Sets the HTTP client object to use for connecting the XML-RPC server.
| Parameter Name | Type | Description |
|---|---|---|
| $httpClient | \Laminas\Http\Client |
Returns: \Laminas\Http\Client
Sets the object used to introspect remote servers
| Parameter Name | Type | Description |
|---|---|---|
| $ | \Laminas\XmlRpc\Client\ServerIntrospection | |
| $introspector |
Returns: \Laminas\XmlRpc\Client\ServerIntrospection
Set skip system lookup flag
| Parameter Name | Type | Description |
|---|---|---|
| $flag | bool |
Returns: \Laminas\XmlRpc\Client
Skip system lookup when determining if parameter should be array or struct?
Returns: bool