class LSP::ResponseMessage

Overview

A Response Message sent as a result of a request. If a request doesn’t provide a result value the receiver of a request still needs to return a response message to conform to the JSON RPC specification. The result property of the ResponseMessage should be set to null in this case to signal a successful request.

Included Modules

Defined in:

lsp/protocol/response_message.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def id : Int32 | String | Nil #

The request id.


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

The request id.


[View source]