class
MCProtocol::JSONRPCRequest
- MCProtocol::JSONRPCRequest
- Reference
- Object
Overview
A request that expects a response.
Included Modules
- JSON::Serializable
Defined in:
mcprotocol/jsonrpc_request.crConstructors
- .new(id : RequestId, method : String, jsonrpc : String = "2.0", params : JSON::Any | Nil = Nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
Constructor Detail
def self.new(id : RequestId, method : String, jsonrpc : String = "2.0", params : JSON::Any | Nil = Nil)
#