LSP::ResponseMessage(T)
Inherits JSON::Serializable < LSP::Message < Reference < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(id : Int32 | String | Nil = nil, result : T | Nil = nil, error : LSP::ResponseError | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
id
Sourceid=(id : Int32 | String | Nil)
Sourceresult
The result of a request. This member is REQUIRED on success. This member MUST NOT exist if there was an error invoking the method.
result=(result : T | Nil)
The result of a request. This member is REQUIRED on success. This member MUST NOT exist if there was an error invoking the method.