final | |
---|---|
readonly | |
extends |
Request |
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(non-empty-string $jsonrpc, null|array<string, mixed> $params = null)
|
# |
Methods inherited from Nexus\Mcp\Message\Request |
---|
toArray() |
Methods inherited from Nexus\Mcp\Message\Message |
---|
jsonSerialize() |
Constants inherited from Nexus\Mcp\Message\Message |
---|
|
Properties inherited from Nexus\Mcp\Message\Request |
---|
$method, $params |
Properties inherited from Nexus\Mcp\Message\Message |
---|
$jsonrpc |