@maxmind/minfraud-api-node
    Preparing search index...

    Interface WebServiceClientOptions

    Options for the WebServiceClient constructor

    interface WebServiceClientOptions {
        fetcher?: (
            input: string | URL | Request,
            init?: RequestInit,
        ) => Promise<Response>;
        host?: string;
        timeout?: number;
    }
    Index

    Properties

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

    A custom fetch implementation to use for requests. Defaults to the global fetch. This is primarily useful for testing or for routing requests through a custom dispatcher or proxy.

    host?: string

    The host to use when connecting to the web service. Defaults to "minfraud.maxmind.com".

    timeout?: number

    The timeout in milliseconds. Defaults to 3000.