final | |
|---|---|
readonly | |
extends |
JsonRpcRequest<array{jsonrpc: '2.0', id: (int|non-empty-string), method: 'ping', params?: array{_meta?: array<string, mixed>}}> |
implements |
ClientRequest, ServerRequest |
A ping, issued by either the server or the client, to check that the other party is still alive. The receiver must promptly respond, or else may be disconnected.
| Methods | ||
|---|---|---|
public
|
__construct(RequestId $id, null|array<string, mixed> $meta = null)
|
# |
| Methods inherited from Nexus\Mcp\Schema\Message\JsonRpcRequest |
|---|
toArray() |
| Methods inherited from Nexus\Mcp\Schema\Request\Request |
|---|
jsonSerialize() |
| Methods inherited from Nexus\Mcp\Schema\Message\Message |
|---|
validateJsonRpc() |
| Constants inherited from Nexus\Mcp\Schema\Message\JsonRpcMessage |
|---|
|
| Properties inherited from Nexus\Mcp\Schema\Message\JsonRpcRequest |
|---|
$jsonrpc, $id |
| Properties inherited from Nexus\Mcp\Schema\Request\Request |
|---|
$method, $params |