withInterceptorsFromDi
function
Includes class-based interceptors configured using a multi-provider in the current injector into
the configured HttpClient
instance.
API
Description
function withInterceptorsFromDi(): HttpFeature<HttpFeatureKind.LegacyInterceptors>;
withInterceptorsFromDi
Includes class-based interceptors configured using a multi-provider in the current injector into
the configured HttpClient
instance.
Prefer withInterceptors
and functional interceptors instead, as support for DI-provided
interceptors may be phased out in a later release.
Jump to details