Builds an HTTP client pinned to a base URL, request-timeout budget, and optional default headers / undici dispatcher / redaction vocabulary.
Client configuration.
Construction options for HttpClient.
ReadonlybaseURL: stringOptional Readonlydispatcher?: objectOptional Readonlyheaders?: Record<string, string>Optional Readonlyredaction?: RedactionReadonlytimeout: numberIssues an HTTP request and returns the normalized response.
Per-request configuration.
The normalized { data, status, headers } triple.
HttpError when the response status is not 2xx.
Thin fetch-based HTTP client used internally by the consuming SDKs.
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. Every thrown HttpError snapshot is redacted through the client's injected Redaction vocabulary.