function
Includes class-based interceptors configured using a multi-provider in the current injector into the configured HttpClient
instance.
withInterceptorsFromDi(): HttpFeature<HttpFeatureKind.LegacyInterceptors>
There are no parameters.
Prefer withInterceptors
and functional interceptors instead, as support for DI-provided interceptors may be phased out in a later release.
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/common/http/withInterceptorsFromDi