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)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
Class methods
empty_result
Sourcemethod
SourceInstance methods
error_response_from_json(input)
Sourceid
id=(id : Int64 | String)
jsonrpc
jsonrpc=(jsonrpc : String)
method
method=(method : String)
new_error_response
Sourcenew_response
Sourceresponse_from_json(input)
Source