@angular/common/http

withInterceptors

function

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

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