class

MCProtocol::CancelledNotificationParams

Inherits JSON::Serializable < Reference < Object

Constructors

new(requestId : RequestId, reason : String | Nil = Nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

reason

An optional string describing the reason for the cancellation. This MAY be logged or presented to the user.

Source
requestId

The ID of the request to cancel.

This MUST correspond to the ID of a request previously issued in the same direction.

Source