Sitelet https://web.archive.org/web/20240920155525/https://angular.dev/api/common/http/withInterceptors/
@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