class LSProtocol::Registration
- LSProtocol::Registration
- Reference
- Object
Overview
General parameters to register for a notification or to register a provider.
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(id : String | Nil, method : String | Nil, register_options : LSPAny | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#id : String
The id used to register the request.
-
#method : String
The method / capability to register for.
-
#register_options : LSPAny | Nil
Options necessary for the registration.
Constructor Detail
Instance Method Detail
def id : String
#
The id used to register the request. The id can be used to deregister the request again.