withInterceptorsFromDi
Includes class-based interceptors configured using a multi-provider in the current injector into
the configured HttpClient
instance.
withInterceptorsFromDi(): HttpFeature<HttpFeatureKind.LegacyInterceptors>
Parameters
There are no parameters.
Returns
See also
Description
Prefer withInterceptors
and functional interceptors instead, as support for DI-provided
interceptors may be phased out in a later release.