<T is array{jsonrpc: non-empty-string, method: non-empty-string, params?: array<string, mixed>}>abstract | |
|---|---|
readonly | |
extends |
Notification<T> |
A notification which does not expect a response.
| Methods | ||
|---|---|---|
public
|
__construct(string $jsonrpc, string $method, ?array $params = null)
|
# |
public
|
toArray(): array
|
# |
| Methods inherited from Nexus\Mcp\Schema\Notification\Notification |
|---|
jsonSerialize() |
| Methods inherited from Nexus\Mcp\Schema\Message\Message |
|---|
validateJsonRpc() |
| Constants inherited from Nexus\Mcp\Schema\Message\JsonRpcMessage |
|---|
|
| Properties | |||
|---|---|---|---|
public
|
non-empty-string
|
$jsonrpc
|
# |
| Properties inherited from Nexus\Mcp\Schema\Notification\Notification |
|---|
$method, $params |