UnsubscribeRequest

Sent from the client to request cancellation of resources/updated notifications from the server.

This should follow a previous SubscribeRequest. After unsubscribing, the server will stop sending ResourceUpdatedNotification messages for this resource.

Constructors

Link copied to clipboard
constructor(params: UnsubscribeRequestParams)
constructor(uri: String, meta: RequestMeta? = null)

Properties

Link copied to clipboard

Metadata for this request. May include a progressToken for out-of-band progress notifications.

Link copied to clipboard
open override val method: Method
Link copied to clipboard
open override val params: UnsubscribeRequestParams

The parameters specifying which resource URI to unsubscribe from.

Link copied to clipboard
val uri: String

The URI of the resource to unsubscribe from.

Functions

Link copied to clipboard

Converts the request to a JSON-RPC request.