final | |
|---|---|
readonly | |
extends |
JsonRpcRequest<'resources/unsubscribe'> |
implements |
ClientRequest |
Sent from the client to request cancellation of resources/updated notifications from the server. This should follow a previous resources/subscribe request.
| Methods | ||
|---|---|---|
public
|
__construct(RequestId $id, UnsubscribeRequestParams $params)
|
# |
public
static
|
getMethod(): string
|
# |
public
static
|
fromArray(array $data): static
|
# |
| Methods inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcRequest |
|---|
toArray(), jsonSerialize() |
| Constants inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcMessage |
|---|
|
| Properties | |||
|---|---|---|---|
public
readonly
|
UnsubscribeRequestParams
|
$params
|
# |
| Properties inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcRequest |
|---|
$id |