class
MCProtocol::CancelledNotificationParams
- MCProtocol::CancelledNotificationParams
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
mcprotocol/cancelled_notification.crConstructors
Instance Method Summary
-
#reason : String | Nil
An optional string describing the reason for the cancellation.
-
#requestId : RequestId
The ID of the request to cancel.
Constructor Detail
Instance Method Detail
def reason : String | Nil
#
An optional string describing the reason for the cancellation. This MAY be logged or presented to the user.
The ID of the request to cancel.
This MUST correspond to the ID of a request previously issued in the same direction.