StaticfromCreates an HttpResponsePromise from a function that returns a promise.
An HttpResponsePromise instance.
StaticinterceptCreates a function that returns an HttpResponsePromise from a function that returns a promise.
A function that returns a promise resolving to a WithRawResponse object.
A function that returns an HttpResponsePromise instance.
StaticfromCreates an HttpResponsePromise from an existing promise.
A promise resolving to a WithRawResponse object.
An HttpResponsePromise instance.
StaticfromCreates an HttpResponsePromise from an executor function.
A function that takes resolve and reject callbacks to create a promise.
An HttpResponsePromise instance.
StaticfromCreates an HttpResponsePromise from a resolved result.
A WithRawResponse object to resolve immediately.
An HttpResponsePromise instance.
Retrieves the data and raw response.
A promise resolving to a WithRawResponse object.
A promise that returns the parsed response and lets you retrieve the raw response too.