Params

data class Params(val requestId: RequestId, val reason: String? = null, val _meta: JsonObject = EmptyJsonObject) : NotificationParams(source)

Constructors

Link copied to clipboard
constructor(requestId: RequestId, reason: String? = null, _meta: JsonObject = EmptyJsonObject)

Properties

Link copied to clipboard
open override val _meta: JsonObject

The protocol reserves this result property to allow clients and servers to attach additional metadata to their responses.

Link copied to clipboard
val reason: String? = null

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

Link copied to clipboard

The ID of the request to cancel.