RpcClient
class RpcClient (View source)
Comodojo RPC client. It's able to talk in XML and JSON (2.0).
It optionally supports a not standard encrypted transport
Traits
Constants
JSONRPC |
|
XMLRPC |
|
Properties
static protected array | $supported_protocols | Supported RPC protocols | from Protocol |
Methods
__construct(string $server, LoggerInterface $logger = null, Transport $transport = null)
Class constructor
getTransport()
No description
getRequest()
No description
setAutoclean(bool $mode = true)
Set autoclean on/off
getAutoclean()
No description
mixed
send()
Send request(s) to server
Details
in Encryption at line 41
Encryption
setEncryption(string $key)
Set encryption key
This will enable the NOT-STANDARD payload encryption
in Encryption at line 56
string
getEncryption()
Get encryption key
at line 91
__construct(string $server, LoggerInterface $logger = null, Transport $transport = null)
Class constructor
at line 123
getTransport()
at line 129
getRequest()
at line 151
getAutoclean()
at line 157
addRequest(RpcRequest $request)
at line 195
mixed
send()
Send request(s) to server