@maschinenlesbar.org/jobsuche-cli
    Preparing search index...

    Interface ObtainKeyOptions

    interface ObtainKeyOptions {
        maxResponseBytes?: number;
        sourceUrl?: string;
        timeoutMs?: number;
        transport?: Transport;
        userAgent?: string;
    }
    Index
    maxResponseBytes?: number

    Cap on the response body in bytes, a non-negative integer. Defaults to DEFAULT_MAX_RESPONSE_BYTES (100 MiB), like the API client; 0 disables it.

    sourceUrl?: string

    Override the source document (tests, mirrors): an absolute http(s) URL (httpUrlProblem), else a JobsucheValidationError.

    timeoutMs?: number

    Time limit per request in milliseconds, whole response included, a non-negative integer. Defaults to DEFAULT_TIMEOUT_MS (30 s), like the API client; 0 disables it.

    transport?: Transport

    Injectable transport; defaults to the built-in node:http/https one.

    userAgent?: string

    User-Agent header; defaults to DEFAULT_USER_AGENT. Must be a valid header value (headerValueProblem), as for the API client: a blank one is rejected.