Spec-Zone.ru › Angular

withFetch

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

Advanced fetch Options

Deprecation warning

withFetch is not required anymore. FetchBackend is the default HttpBackend.

API

function withFetch(): HttpFeature<HttpFeatureKind.Fetch>;
@deprecated

withFetch is not required anymore. FetchBackend is the default HttpBackend.

@returnsHttpFeature<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

Spec-Zone.ru

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