CancelTaskRequest

A request to cancel a task.

This request can be sent by either side (both ClientRequest and ServerRequest).

Constructors

Link copied to clipboard
constructor(params: CancelTaskRequestParams)

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

the request method identifier

Link copied to clipboard
open override val params: CancelTaskRequestParams

The parameters specifying which task to cancel.

Link copied to clipboard

The task identifier to cancel.

Functions

Link copied to clipboard

Converts the request to a JSON-RPC request.