class MCProtocol::JSONRPCRequest

Overview

A request that expects a response.

Included Modules

Defined in:

mcprotocol/jsonrpc_request.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : RequestId, method : String, jsonrpc : String = "2.0", params : JSON::Any | Nil = Nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def id : RequestId #

[View source]
def jsonrpc : String #

[View source]
def method : String #

[View source]
def params : JSON::Any | Nil #

[View source]