Spec-Zone.ru › Angular

withXhr

Configures the current HttpClient instance to make requests using the Xhr API.

provideHttpClient

API

function withXhr(): HttpFeature<HttpFeatureKind.Xhr>;
@returnsHttpFeature<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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API