Class Nexus\Mcp\Core\Schema\Request\PingRequest

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
Methods inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcRequest
__construct(), toArray(), jsonSerialize()
Constants inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcMessage
JSONRPC_VERSION
Properties inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcRequest
$id
Properties inherited from Nexus\Mcp\Core\Schema\Request
$params