A class representing a JSON-RPC 2.0 request object.
idUnique id of the request
methodName of the method
paramsList of parameters
new()Initialize a JSON-RPC request
JsonRpcRequest$new(method = NULL, params = NULL, id = NULL)
methodName of the method
paramsList of parameters
idUnique id of the request
dehydrate()Dehydrate the request to a list
JsonRpcRequest$dehydrate()
serialize()Serialize the request to JSON
JsonRpcRequest$serialize()
clone()The objects of this class are cloneable with this method.
JsonRpcRequest$clone(deep = FALSE)
deepWhether to make a deep clone.