class LSP::RequestMessage(Result)

Included Modules

Direct Known Subclasses

Defined in:

requests/request_message.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(**args) #

[View source]

Instance Method Detail

def id : RequestId #

[View source]
def id=(id : RequestId) #

[View source]
def method : String #

[View source]
def method=(method : String) #

[View source]
def on_response(raw : JSON::Any | Nil, e : ResponseError | Nil) #

[View source]
def on_response(&block : Proc(Result | Nil, ResponseError | Nil, Nil)) #

[View source]
def on_response? : Proc(Result | Nil, ResponseError | Nil, Nil) | Nil #

[View source]