Class Nexus\Mcp\Schema\Message\JsonRpcRequest

<T is array{jsonrpc: non-empty-string, id: (int|non-empty-string), method: non-empty-string, params?: array<string, mixed>}>

abstract
readonly
extends Request<T>

A request that expects a response.

Methods
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
JSON_RPC_VERSION
Properties
Properties inherited from Nexus\Mcp\Schema\Request\Request
$method, $params