abstract | |
---|---|
readonly | |
extends |
Message |
The base JSON-RPC notification object.
Methods | ||
---|---|---|
public
|
__construct(non-empty-string $jsonrpc, non-empty-string $method, null|array<string, mixed> $params = null)
|
# |
public
|
toArray(): array{jsonrpc: non-empty-string, method: non-empty-string, params?: array<string, mixed>}
|
# |
Methods inherited from Nexus\Mcp\Message\Message |
---|
jsonSerialize() |
Constants inherited from Nexus\Mcp\Message\Message |
---|
|
Properties | |||
---|---|---|---|
public
|
non-empty-string
|
$method
|
# |
public
|
null|array<string, mixed>
|
$params
|
# |
Properties inherited from Nexus\Mcp\Message\Message |
---|
$jsonrpc |