class LSProtocol::ConfigurationRequest

Overview

The 'workspace/configuration' request is sent from the server to the client to fetch a certain configuration setting.

This pull model replaces the old push model were the client signaled configuration change via an event. If the server still needs to react to configuration changes (since the server caches the result of workspace/configuration requests) the server should register for an empty configuration change event and empty the cache if such an event is received.

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

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

[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 : ConfigurationParams #

[View source]