@ctrl/nzbget
    Preparing search index...

    Interface JsonRpcResponse<T>

    interface JsonRpcResponse<T> {
        error?: JsonRpcErrorModel | null;
        id: string | number;
        jsonrpc: "2.0";
        result: T;
    }

    Type Parameters

    • T
    Index
    error?: JsonRpcErrorModel | null

    Optional error payload when the request fails.

    id: string | number

    Request identifier echoed by the server.

    jsonrpc: "2.0"

    JSON-RPC protocol version.

    result: T

    Successful result payload.