AbstractProtectedbuildProtectedbuildProtectedcreateOptionalopts: Record<string, string>Protected AbstractgetProtectedgetPerforms a request and returns the raw Response together with its AbortController, bypassing JSON parsing and case transformation.
Intended for consumers that parse the response body themselves — e.g.
custom Server-Sent Events streams whose framing differs from the chat
completion stream handled by Stream.fromSSEResponse. Reuses the
client's retry, auth, timeout, and baseURL handling.
The HTTP method to use.
Request path (relative to baseURL/opts.baseURL, or absolute).
Optionalopts: RequestOptions<Req>Request options (notably baseURL, query, and signal).
The live Response and the AbortController controlling it.
Protectedstringify
Abstract base HTTP client with retry logic and request/response transformation.