@tikoci/centrs
    Preparing search index...

    Interface BtestClientRequest

    interface BtestClientRequest {
        cdbFile?: string;
        cdbPassword?: string;
        connectionCount?: number;
        controlPort?: number;
        direction?: BtestDirection;
        durationMs?: number;
        env?: Record<string, string | undefined>;
        host?: string;
        intervalMs?: number;
        localTxSpeed?: number;
        localUdpTxSize?: number;
        match?: string;
        natMode?: boolean;
        onReport?: (record: BtestReportRecord) => void;
        password?: string;
        protocol?: BtestProtocol;
        randomData?: boolean;
        remoteTxSpeed?: number;
        remoteUdpTxSize?: number;
        runSession?: (
            options: BtestClientSessionOptions,
        ) => Promise<BtestRunSummary>;
        signal?: AbortSignal;
        targetInput?: string;
        username?: string;
    }
    Index
    cdbFile?: string
    cdbPassword?: string
    connectionCount?: number
    controlPort?: number

    Control port; default 2000.

    direction?: BtestDirection
    durationMs?: number
    env?: Record<string, string | undefined>
    host?: string
    intervalMs?: number
    localTxSpeed?: number
    localUdpTxSize?: number
    match?: string

    --match selector for a <router> several CDB records share (user=<name>, target=<addr>, or a record type): the same selector devices show --match takes. Single-target only (#583).

    natMode?: boolean
    onReport?: (record: BtestReportRecord) => void

    Live per-interval frame callback (text/csv streaming).

    password?: string
    protocol?: BtestProtocol
    randomData?: boolean
    remoteTxSpeed?: number
    remoteUdpTxSize?: number
    runSession?: (options: BtestClientSessionOptions) => Promise<BtestRunSummary>

    Injection seam (tests).

    Type Declaration

    signal?: AbortSignal
    targetInput?: string

    <router> positional (CDB identity / target / host).

    username?: string