BIM.works SDKs - v3.0.0-b.115
    Preparing search index...

    Interface NetworkUsageSettings

    interface NetworkUsageSettings {
        exclude?: (string | RegExp)[];
        flushIntervalMs?: number;
        include?: (string | RegExp)[];
        maxDetails?: number;
        maxRowsPerFlush?: number;
        pointMapper?: (url: string, initiatorType: string) => string | null;
        resourceTiming?: boolean;
    }
    Index

    Properties

    exclude?: (string | RegExp)[]

    URLs matching one of these are never counted.

    flushIntervalMs?: number

    How often a batch is sent to the server (default 60000).

    include?: (string | RegExp)[]

    Only URLs matching one of these are counted (applied after exclude).

    maxDetails?: number

    Distinct details per point before further ones collapse into ~other.

    maxRowsPerFlush?: number

    Cap on rows per batch; the remainder is summed into one ~truncated row.

    pointMapper?: (url: string, initiatorType: string) => string | null

    Overrides the URL → tracking point mapping; returning null drops the entry.

    resourceTiming?: boolean

    Observe PerformanceResourceTiming for transfers the SDK does not make itself.