final | |
|---|---|
readonly | |
extends |
JsonRpcRequest<'ping'> |
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
static
|
getMethod(): string
|
# |
public
static
|
fromArray(array $data): static
|
# |
| Methods inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcRequest |
|---|
__construct(), toArray(), jsonSerialize() |
| Constants inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcMessage |
|---|
|
| Properties inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcRequest |
|---|
$id |
| Properties inherited from Nexus\Mcp\Core\Schema\Request |
|---|
$params |