RpcServer
class RpcServer (View source)
The RpcServer main class.
Constants
XMLRPC |
Capabilities collector |
JSONRPC |
Capabilities collector |
Methods
Class constructor
Set RPC protocol (json or xml)
Get RPC protocol
Set request payload, raw format
Get request payload
No description
No description
Set encryption key; this will enable the NOT-STANDARD payload encryption
Get the ecryption key or null if no encryption is selected
Get methods object
Serve request
Details
at line 132
__construct($protocol, LoggerInterface $logger = null)
Class constructor
at line 191
string
getProtocol()
Get RPC protocol
at line 215
string
getPayload()
Get request payload
at line 221
setEncoding($encoding)
at line 229
getEncoding()
at line 243
RpcServer
setEncryption(string $key)
Set encryption key; this will enable the NOT-STANDARD payload encryption
at line 258
string
getEncryption()
Get the ecryption key or null if no encryption is selected
at line 271
Capabilities
capabilities()
deprecated
deprecated
Get capabilities object
at line 284
Capabilities
getCapabilities()
deprecated
deprecated
Get capabilities object
at line 344
string
serve()
Serve request