final | |
|---|---|
readonly | |
extends |
JsonRpcNotification<'notifications/resources/updated', array{jsonrpc: '2.0', method: 'notifications/resources/updated', params: template-type<ResourceUpdatedNotificationParams, NotificationParams, 'T'>}> |
implements |
ServerNotification |
A notification from the server to the client, informing it that a resource has changed and
may need to be read again. This is only sent for resources the client opted in to via the
resourceSubscriptions field of a subscriptions/listen request.
| Methods | ||
|---|---|---|
public
|
__construct(ResourceUpdatedNotificationParams $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
|
ResourceUpdatedNotificationParams
|
$params
|
# |