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?, 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.