final | |
---|---|
readonly | |
extends |
Notification |
implements |
ClientNotification, ServerNotification |
This notification can be sent by either side to indicate that it is cancelling a previously-issued request. The request SHOULD still be in-flight, but due to communication latency, it is always possible that this
notification MAY arrive after the request has already finished. This notification indicates that the result will be unused, so any associated processing SHOULD cease. A client MUST NOT attempt to cancel its initialize
request.
Methods | ||
---|---|---|
public
|
__construct(non-empty-string $jsonrpc, RequestId $requestId, null|non-empty-string $reason = null)
|
# |
Methods inherited from Nexus\Mcp\Message\Notification |
---|
toArray() |
Methods inherited from Nexus\Mcp\Message\Message |
---|
jsonSerialize() |
Constants inherited from Nexus\Mcp\Message\Message |
---|
|
Properties | |||
---|---|---|---|
public
|
RequestId
|
$requestId
|
# |
public
|
null|non-empty-string
|
$reason
|
# |
Properties inherited from Nexus\Mcp\Message\Notification |
---|
$method, $params |
Properties inherited from Nexus\Mcp\Message\Message |
---|
$jsonrpc |