EasyPath SDK
    Preparing search index...

    Interface Options

    interface Options {
        apiKey: string;
        baseUrl: string;
        fetch?: {
            (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
            (input: string | URL | Request, init?: RequestInit): Promise<Response>;
        };
        timeoutMs?: number;
    }
    Index
    apiKey: string

    Customer credential. Keep on your server, never in browser code or a URL.

    baseUrl: string

    HTTPS origin; plain HTTP only for loopback test servers.

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

    Optional transport, for tests or instrumentation. Do not add automatic mutation retries.

    Type Declaration

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

        • input: URL | RequestInfo
        • Optionalinit: RequestInit

        Returns Promise<Response>

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

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

        Returns Promise<Response>

    timeoutMs?: number

    Request timeout; defaults to 65 seconds to allow the API's 60-second long poll.