class LSP::InitializeRequest
- LSP::InitializeRequest
- LSP::RequestMessage(LSP::InitializeResult)
- Reference
- Object
Overview
The initialize request is sent as the first request from the client to the server.
Included Modules
Defined in:
requests/initialize.crConstructors
-
.new(pull : JSON::PullParser)
The initialize request is sent as the first request from the client to the server.
- .new(**args)
Instance Method Summary
Instance methods inherited from class LSP::RequestMessage(LSP::InitializeResult)
id : RequestId
id,
id=(id : RequestId)
id=,
method : String
method,
method=(method : String)
method=,
on_response(raw : JSON::Any | Nil, e : ResponseError | Nil)on_response(&block : Proc(Result | Nil, ResponseError | Nil, Nil)) on_response, on_response? : Proc(Result | Nil, ResponseError | Nil, Nil) | Nil on_response?
Constructor methods inherited from class LSP::RequestMessage(LSP::InitializeResult)
new(pull : JSON::PullParser)new(**args) new
Constructor Detail
def self.new(pull : JSON::PullParser)
#
The initialize request is sent as the first request from the client to the server.