class

MCProtocol::JSONRPCRequest

Inherits JSON::Serializable < Reference < Object

A request that expects a response.

Constructors

new(id : RequestId, method : String, jsonrpc : String = "2.0", params : JSON::Any | Nil = Nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

jsonrpc
Source
method
Source
params
Source