Class Nexus\Mcp\Extension\Tasks\Schema\Request\CancelTaskRequest

final
readonly
extends JsonRpcRequest<'tasks/cancel', array{jsonrpc: '2.0', id: (int|non-empty-string), method: 'tasks/cancel', params: template-type<CancelTaskRequestParams, RequestParams, 'T'>}>
implements ClientRequest

Sent from the client to the server, to request cooperative cancellation of a task.

Methods
Methods inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcRequest
jsonSerialize()
Constants inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcMessage
JSONRPC_VERSION
Properties
Properties inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcRequest
$id