Options to configure the HTTP Client.
Protected contextShares information and functionality between middlewares. For example, the default middleware execution context always includes a Pino logger instance.
Optional Readonly credentialsExpose the credential provider as readonly so developers can interact with it.
Protected Readonly loggerA logger library compatible with Pino for logging in middleware layers.
Readonly middlewareExpose the middleware stack as readonly so developers can add additional middleware for a specific client.
Readonly prefixExpose the prefix for other extensions to match with.
Rest ...args: [url: string | RequestInput, options?: (RequestPromiseOptions & OptionalUriUrl)]Enchains the middleware stack executes the asynchronous operation
A action that represents the parameters needed to call a specific endpoint or perform some asynchronous sequence of work.
The fully deserialized value.
A function that ends the middleware callback chain by executing fetch request and returning the response.
between middlewares.
A fetch Response object.
A generic client constructor