Builds an HTTP client pinned to a base URL, request-timeout budget, and optional default headers / undici dispatcher.
Client configuration.
Construction options for HttpClient.
ReadonlybaseURL: stringOptional Readonlydispatcher?: objectOptional Readonlyheaders?: Record<string, string>Readonlytimeout: numberIssues an HTTP request and returns the normalized response.
Per-request configuration.
The normalized { data, status, headers } triple.
HttpError when the response status is non-2xx.
Thin fetch-based HTTP client used internally by the SDK.
Returns a normalised
{ data, status, headers }response and throws HttpError on non-2xx — so retry/rate-limit/observability layers stay unchanged when the transport is swapped.