JSONRPCRequest<TParams>

View as MarkdownOpen in Claude

Shape of an outgoing JSON-RPC 2.0 request. Used as the input to WebRTCCall.execute for direct RPC sends.

Type Parameters

Type ParameterDefault type
TParamsunknown

Properties

id
stringRequired

Request ID, echoed back in the matching response.

jsonrpc
"2.0"Required

JSON-RPC protocol version. Always "2.0".

method
stringRequired

RPC method name.

params
TParams

Method-specific parameters.