class

LSP::ShutdownRequest

Inherits LSP::Initializer < LSP::RequestMessage < LSP::Initializer < JSON::Serializable < LSP::Message < Reference < Object

The shutdown request is sent from the client to the server.

It asks the server to shut down, but to not exit (otherwise the response might not be delivered correctly to the client). There is a separate exit notification that asks the server to exit. Clients must not send any notifications other than exit or requests to a server to which they have sent a shutdown request. If a server receives requests after a shutdown request those requests should error with InvalidRequest.

Constructors

new(pull : JSON::PullParser)

The shutdown request is sent from the client to the server.

It asks the server to shut down, but to not exit (otherwise the response might not be delivered correctly to the client). There is a separate exit notification that asks the server to exit. Clients must not send any notifications other than exit or requests to a server to which they have sent a shutdown request. If a server receives requests after a shutdown request those requests should error with InvalidRequest.

Source
new

Instance methods

params
Source
params=(params : Nil)
Source