• Overview
@angular/common/http

withFetch

function
deprecated

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

Deprecation warning

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

API

@deprecated

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

Description

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

Note: The Fetch API doesn't support progress report on uploads.

Jump to details