llmwire - v2.2.0
    Preparing search index...

    Interface HttpOptions

    interface HttpOptions {
        body?: unknown;
        fetch?: FetchLike;
        headers?: Record<string, string>;
        idleTimeout?: number;
        method?: "GET" | "POST" | "DELETE";
        params?: Record<string, string>;
        provider?: string;
        signal?: AbortSignal;
        timeout?: number;
    }
    Index
    body?: unknown

    JSON-serialised. Presence makes the default method POST.

    fetch?: FetchLike
    headers?: Record<string, string>
    idleTimeout?: number

    Streams only: ms of silence from upstream before the stream is failed. 0 disables. Default 60000.

    method?: "GET" | "POST" | "DELETE"
    params?: Record<string, string>
    provider?: string

    Named in errors raised here (timeouts).

    signal?: AbortSignal
    timeout?: number

    Whole-request timeout in ms; 0 disables it. Default 30000 for JSON calls.