MCPcopy
hub / github.com/angular/angular / makeHttpFeature

Function makeHttpFeature

packages/common/http/src/provider.ts:56–64  ·  view source on GitHub ↗
(
  kind: KindT,
  providers: Provider[],
)

Source from the content-addressed store, hash-verified

54}
55
56function makeHttpFeature<KindT extends HttpFeatureKind>(
57 kind: KindT,
58 providers: Provider[],
59): HttpFeature<KindT> {
60 return {
61 ɵkind: kind,
62 ɵproviders: providers,
63 };
64}
65
66/**
67 * Configures Angular's `HttpClient` service to be available for injection.

Callers 8

withInterceptorsFunction · 0.85
withInterceptorsFromDiFunction · 0.85
withXsrfConfigurationFunction · 0.85
withNoXsrfProtectionFunction · 0.85
withJsonpSupportFunction · 0.85
withFetchFunction · 0.85
withXhrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…