JsonRpc::Request
Inherits JsonRpc::MessageHeader / JSON::Serializable / Struct / Value / Object
Encapsulates a JSON-RPC request object
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
Creates an error response.
method
Sourceparams
Sourceraw_params
Sourcerespond_later(client : Client) : DelayedResponse
Returns a DelayedResponse, bound to client.
Return the result of this method from your Handler#handle_rpc_call, and
keep a handle to it somewhere to respond later.