<out TMethod is non-empty-string>abstract | |
|---|---|
readonly | |
extends |
Notification<TMethod> |
implements |
Arrayable<array{jsonrpc: '2.0', method: non-empty-string, params?: template-type<NotificationParams, Arrayable, 'T'>}>, JsonRpcMessage |
A notification which does not expect a response.
| Methods | ||
|---|---|---|
abstract
public
static
|
fromArray(array<string, mixed> $data): static
|
# |
public
|
toArray(): array
|
# |
public
|
jsonSerialize(): array
|
# |
| Methods inherited from Nexus\Mcp\Core\Schema\Notification |
|---|
__construct(), getMethod() |
| Constants inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcMessage |
|---|
|
| Properties inherited from Nexus\Mcp\Core\Schema\Notification |
|---|
$params |