Spec-Zone.ru › Angular

withInterceptors

Добавляет один или несколько HTTP-перехватчиков в функциональном стиле в конфигурацию экземпляра HttpClient.

HttpInterceptorFnprovideHttpClient

API

function withInterceptors(
  interceptorFns: HttpInterceptorFn[],
): HttpFeature<HttpFeatureKind.Interceptors>;
@paraminterceptorFnsHttpInterceptorFn[]
@returnsHttpFeature<HttpFeatureKind.Interceptors>

Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/common/http/withInterceptors

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API