W3cubDocs

/Angular

withInterceptors

function

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

withInterceptors(interceptorFns: HttpInterceptorFn[]): HttpFeature<HttpFeatureKind.Interceptors>

Parameters
interceptorFns HttpInterceptorFn[]
Returns

HttpFeature<HttpFeatureKind.Interceptors>

See also

© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/common/http/withInterceptors