@suluk/payments - v0.1.0
    Preparing search index...

    Interface HttpOptions

    Per-request HTTP tuning + the mockable transport seam (a Worker passes nothing → global fetch; a test passes a mock).

    interface HttpOptions {
        fetch?: (
            input: RequestInfo | URL,
            init?: RequestInit,
        ) => Promise<Response>;
        totalTimeoutMs?: number;
    }
    Index

    Properties

    fetch?: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>

    Type Declaration

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

        • input: RequestInfo | URL
        • Optionalinit: RequestInit

        Returns Promise<Response>

    totalTimeoutMs?: number