class LSProtocol::InitializeRequest

Overview

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.

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : Int32 | String, params : InitializeParams) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def id : Int32 | String #

The request id.


[View source]
def jsonrpc : String #

[View source]
def method : String #

The method to be invoked.


[View source]
def params : InitializeParams #

[View source]