withFetch
Configures the current HttpClient instance to make requests using the fetch API.
Deprecation warning
API
function withFetch(): HttpFeature<HttpFeatureKind.Fetch>;
@returns
HttpFeature<HttpFeatureKind.Fetch>
Description
Configures the current HttpClient instance to make requests using the fetch API.
Note: The Fetch API doesn't support progress report on uploads.
Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/common/http/withFetch