abstract class LSP::RequestMessage

Overview

A request message to describe a request between the client and the server. Every processed request must send a response back to the sender of the request.

Included Modules

Direct Known Subclasses

Defined in:

lsp/protocol/request_message.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

abstract def execute(server : Server) #

[View source]
def id : Int32 | String #

The request id.


[View source]
def id=(id : Int32 | String) #

The request id.


[View source]
def method : String #

The method to be invoked.


[View source]
def method=(method : String) #

The method to be invoked.


[View source]
def snippet_support : Bool | Nil #

WHY IS THIS NEEDED FOR 1.9.1 and not for 1.8??????


[View source]
def snippet_support=(snippet_support : Bool | Nil) #

WHY IS THIS NEEDED FOR 1.9.1 and not for 1.8??????


[View source]