class

LSP::ResponseMessage

Inherits JSON::Serializable < Reference < Object

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.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

id

The request id.

Source
id=(id : Int32 | String | Nil)

The request id.

Source