final | |
|---|---|
readonly | |
extends |
JsonRpcNotification<'notifications/subscriptions/acknowledged', array{jsonrpc: '2.0', method: 'notifications/subscriptions/acknowledged', params: template-type<SubscriptionsAcknowledgedNotificationParams, NotificationParams, 'T'>}> |
implements |
ServerNotification |
Sent by the server to acknowledge that a subscriptions/listen subscription has been
established and to report which notification types it agreed to honor. This notification
MUST be the first message the server sends carrying the subscription's ID in
io.modelcontextprotocol/subscriptionId. The server MUST NOT send any notification on the
subscription before acknowledging it. On stdio, where every subscription shares one channel,
this ordering is defined per subscription ID and not per channel: messages belonging to other
subscriptions MAY be interleaved before it.
| Methods | ||
|---|---|---|
public
|
__construct(SubscriptionsAcknowledgedNotificationParams $params)
|
# |
public
static
|
getMethod(): string
|
# |
public
static
|
fromArray(array $data): static
|
# |
public
|
toArray(): array
|
# |
| Methods inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcNotification |
|---|
jsonSerialize() |
| Constants inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcMessage |
|---|
|
| Properties | |||
|---|---|---|---|
public
readonly
|
SubscriptionsAcknowledgedNotificationParams
|
$params
|
# |