• Overview
@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>;
  
  

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

@paraminterceptorFnsHttpInterceptorFn[]
Jump to details