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) #

def self.new(**args) #

Instance Method Detail

def id : RequestId #

def id=(id : RequestId) #

def method : String #

def method=(method : String) #

def on_response(raw : JSON::Any?, e : ResponseError?) #

def on_response(&block : Proc(Result?, ResponseError?, Nil)) #

def on_response? : Proc(Result?, ResponseError?, Nil)? #