Interface RequestContext

interface RequestContext {
    client: IClientConnection;
    request: JsonRpcRequest<JsonRpcParams> | JsonRpcNotification<JsonRpcParams>;
    id: JsonRpcId;
    meta: Map<string, unknown>;
}

Properties

Properties

The client that sent the request

The original request

Request ID (null for notifications)

meta: Map<string, unknown>

Request metadata