class

LSProtocol::ColorPresentationRequest

Inherits JSON::Serializable / Reference / Object

A request to list all presentation for a color. The request's parameter is of type ColorPresentationParams the response is of type Array(ColorInformation) or a Thenable that resolves to such.

Constructors

new(id : Int32 | String, params : ColorPresentationParams)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

id

The request id.

Source
jsonrpc
Source
method

The method to be invoked.

Source
params
Source