Skip to content

breeze-client / BreezeFetch

Type Alias: BreezeFetch ​

BreezeFetch = (input, init?) => Promise<Response>

Defined in: src/config/interface-registry.ts:71

A fetch-compatible function. This is the seam for supplying your own transport: add auth headers, retry, request signing, route through a framework HTTP client (Angular's HttpClient, so requests pass through its interceptors), or stub it in tests. Defaults to globalThis.fetch.

Parameters ​

input ​

RequestInfo | URL

init? ​

RequestInit

Returns ​

Promise<Response>

Released under the MIT License.