Methods
Cast to string (JSON)
__toString() : string
Retrieve args
getArgs() : mixed
Get request ID
getId() : mixed
Get result
getResult() : mixed
Retrieve JSON-RPC version
getVersion() : string
Is the response an error?
isError() : bool
Set response state based on JSON
loadJson(string $json) : void
Parameters
$json
string
Exceptions
Set args
setArgs(mixed $args) : \Zend\Json\Server\self
Parameters
$args
mixed
Returns
\Zend\Json\Server\self
Cast to JSON
toJson() : string
Properties
$args
$args : \Zend\Json\Server\$args
JSON-RPC version
$version : string