class

LSProtocol::InitializeRequest

Inherits JSON::Serializable / Reference / Object

The initialize request is sent from the client to the server. It is sent once as the request after starting up the server. The requests parameter is of type InitializeParams the response if of type InitializeResult of a Thenable that resolves to such.

Constructors

new(id : Int32 | String, params : InitializeParams)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

id

The request id.

Source
jsonrpc
Source
method

The method to be invoked.

Source
params
Source