struct LSP::Protocol::ResponseMessage

Defined in:

lsp/protocol/response_message.cr

Constructors

Instance Method Summary

Constructor Detail


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

[View source]
def self.new(ex : Exception) #

[View source]

[View source]

Instance Method Detail

def error : Union(ResponseError, Nil) #

[View source]
def error=(_error : Union(ResponseError, Nil)) #

[View source]
def id : Int32 | String | Nil #

[View source]
def id=(_id : Int32 | String | Nil) #

[View source]
def jsonrpc : String #

[View source]
def jsonrpc=(_jsonrpc : String) #

[View source]
def result : Union(ResponseTypes, Nil) #

[View source]
def result=(_result : Union(ResponseTypes, Nil)) #

[View source]
def to_json(json : JSON::Builder) #

[View source]