withXhr
Configures the current HttpClient instance to make requests using the Xhr API.
API
function withXhr(): HttpFeature<HttpFeatureKind.Xhr>;
@returns
HttpFeature<HttpFeatureKind.Xhr>
Description
Configures the current HttpClient instance to make requests using the Xhr API.
Use this feature if you want to report progress on uploads as the Xhr API supports it.
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/withXhr