IFClite TypeScript API
    Preparing search index...

    Interface HttpBsddSourceOptions

    interface HttpBsddSourceOptions {
        apiBase?: string;
        fetch?: {
            (input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
            (input: string | Request | URL, init?: RequestInit): Promise<Response>;
        };
        languageCode?: string;
        now?: () => number;
        timeoutMs?: number;
    }
    Index
    apiBase?: string

    Default: the public API. The viewer passes its proxy, /api/bsdd.

    fetch?: {
        (input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
        (input: string | Request | URL, init?: RequestInit): Promise<Response>;
    }

    Type Declaration

      • (input: RequestInfo | URL, init?: RequestInit): Promise<Response>
      • Parameters

        • input: RequestInfo | URL
        • Optionalinit: RequestInit

        Returns Promise<Response>

      • (input: string | Request | URL, init?: RequestInit): Promise<Response>
      • Parameters

        • input: string | Request | URL
        • Optionalinit: RequestInit

        Returns Promise<Response>

    languageCode?: string

    UI language for labels (IDS values use codes and URIs, never labels).

    now?: () => number

    Clock for checkedAt.

    timeoutMs?: number

    Per-request timeout. Default 15 s.