struct

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)
Source
new(pull : JSON::PullParser)

Encapsulates a JSON-RPC invocation response. See Request#respond to create a response conveniently.

Source

Instance methods

result
Source