ReadonlyretryReadonlyusergrow-codes-<key>/<version> (typescript)[ <suffix>].
Whether close was called.
Builds the absolute URL for a path and query.
Optionalquery: Readonly<Record<string, QueryValue>>Releases connections. Idempotent.
DELETE shortcut.
Throws CancelledError ("<operation>: client is closed", not retryable) once close
was called (SPEC §2.4). Requests check this themselves; service methods that send no request
(cached reads, local helpers) call it first.
GET shortcut.
POST shortcut.
PUT shortcut.
Redacts known secrets from a text (error messages, vendor text).
Sends a request with retries; throws an SDK error on failure. Every error message passes through redact with the known secrets.
Extracts the vendor error message from a response body (JSON message, error, … or plain
text; HTML is ignored), collapses whitespace, trims, redacts secrets and truncates it to
MAX_VENDOR_TEXT characters. Returns undefined when there is nothing useful.
The HTTP transport shared by every client: base URL join, query and JSON encoding, default headers and User-Agent, retries with full-jitter backoff and
Retry-After, per-attempt and total timeouts, cancellation, hooks, logging and status → error mapping (SPEC §2.3).