• Overview
@angular/common/http

withFetch

function

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

API

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

withFetch

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

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

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