struct

LSP::Message::Shutdown

Inherits JSON::Serializable < Struct < Value < 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.

Constructors

new(pull : JSON::PullParser)
new(id : Int64 | String)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)

Class methods

empty_result
Source
method
Source

Instance methods

error_response_from_json(input)
Source
id
id=(id : Int64 | String)
jsonrpc
jsonrpc=(jsonrpc : String)
method
method=(method : String)
new_error_response
Source
new_response
Source
response_from_json(input)
Source

Nested types