JsonRpc::Response
Inherits JsonRpc::ResponseBase / JsonRpc::MessageHeader / JSON::Serializable / Struct / Value / Object
Encapsulates a JSON-RPC invocation response. See Request#respond to
create a response conveniently.
Constructors
new(id, result, error)
Sourcenew(pull : JSON::PullParser)
Encapsulates a JSON-RPC invocation response. See Request#respond to
create a response conveniently.
Instance methods
result
Source