class
LSP::ShowMessageRequest
- LSP::ShowMessageRequest
- LSP::RequestMessage(LSP::MessageActionItem?)
- Reference
- Object
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.crConstructors
-
.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.
- .new(**args)
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 | Nil, e : ResponseError | Nil)on_response(&block : Proc(Result? | Nil, ResponseError | Nil, Nil)) on_response, on_response? : Proc(Result? | Nil, ResponseError | Nil, Nil) | Nil on_response?
Constructor methods inherited from class LSP::RequestMessage(LSP::MessageActionItem?)
new(pull : JSON::PullParser)new(**args) new
Macros inherited from module JSON::Serializable
json_discriminator(field, mapping, *, default = nil)
json_discriminator
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.