Documentation
    Preparing search index...

    Options for createWatcherClient.

    interface WatcherClientOptions {
        apiKey?: string;
        baseUrl: string;
        fetch?: FetchLike;
        timeoutMs?: number;
    }
    Index
    apiKey?: string

    API key sent as Authorization: Bearer <apiKey> (watcher api.apiKey).

    baseUrl: string

    Base URL of the watcher API, e.g. http://watcher.internal.example:1936. May carry a path prefix; must not carry a query string or fragment.

    fetch?: FetchLike

    fetch implementation (for tests or custom agents). Default: global fetch.

    timeoutMs?: number

    Per-request timeout in milliseconds. Default: 10000.