struct LSP::Message::Shutdown

Overview

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.

Included Modules

Defined in:

lsp/message.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(id : Int64 | String) #

[View source]

Class Method Detail

def self.empty_result #

[View source]
def self.method #

[View source]

Instance Method Detail

def error_response_from_json(input) #

[View source]
def id : Int64 | String #

def id=(id : Int64 | String) #

def jsonrpc : String #

def jsonrpc=(jsonrpc : String) #

def method : String #

def method=(method : String) #

def new_error_response #

[View source]
def new_response #

[View source]
def response_from_json(input) #

[View source]