class LSP::ShowMessageRequest

Overview

The show message request is sent from a server to a client to ask the client to display a particular message in the user interface. In addition to the show message notification the request allows to pass actions and to wait for an answer from the client.

Included Modules

Defined in:

requests/window/show_message.cr

Constructors

Instance Method Summary

Instance methods inherited from class LSP::RequestMessage(LSP::MessageActionItem?)

id : RequestId id, id=(id : RequestId) id=, method : String method, method=(method : String) method=, on_response(raw : JSON::Any?, e : ResponseError?)
on_response(&block : Proc(Result??, ResponseError?, Nil))
on_response
, on_response? : Proc(Result??, ResponseError?, Nil)? on_response?

Constructor methods inherited from class LSP::RequestMessage(LSP::MessageActionItem?)

new(pull : JSON::PullParser)
new(**args)
new

Constructor Detail

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

The show message request is sent from a server to a client to ask the client to display a particular message in the user interface. In addition to the show message notification the request allows to pass actions and to wait for an answer from the client.


def self.new(**args) #

Instance Method Detail


def params=(params : ShowMessageRequestParams) #