Class HttpClient

Minimal HTTP client wrapper around fetch with timeout and retry handling.

Constructors

Properties

Methods

Constructors

Properties

retryPolicy: RetryPolicy
timeoutMs?: number

Methods

  • Type Parameters

    • T

    Parameters

    • input: RequestInfo | URL
    • Optionalinit: RequestInit & {
          expectJson?: boolean;
      }

    Returns Promise<T>