struct LSP::ResponseMessage(Result)

Included Modules

Defined in:

response_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 error : ResponseError | Nil #

The error object in case a request fails.


[View source]
def error=(error : ResponseError | Nil) #

The error object in case a request fails.


[View source]
def id : RequestMessage::RequestId | Nil #

The request id.


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

The request id.


[View source]
def result : Result | Nil #

[View source]
def result=(result : Result | Nil) #

[View source]