class LSProtocol::Registration

Overview

General parameters to register for a notification or to register a provider.

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : String | Nil, method : String | Nil, register_options : LSPAny | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def id : String #

The id used to register the request. The id can be used to deregister the request again.


[View source]
def method : String #

The method / capability to register for.


[View source]
def register_options : LSPAny | Nil #

Options necessary for the registration.


[View source]