@angular/common/http

withInterceptors

function

Adds one or more functional-style HTTP interceptors to the configuration of the HttpClient instance.

  
    function withInterceptors(  interceptorFns: HttpInterceptorFn[]): HttpFeature<HttpFeatureKind.Interceptors>;
  
  
Jump to details