MCPcopy Index your code
hub / github.com/angular/angular / withJsonpSupport

Function withJsonpSupport

packages/common/http/src/provider.ts:244–250  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

242 * @see {@link provideHttpClient}
243 */
244export function withJsonpSupport(): HttpFeature<HttpFeatureKind.JsonpSupport> {
245 return makeHttpFeature(HttpFeatureKind.JsonpSupport, [
246 JsonpClientBackend,
247 {provide: JsonpCallbackContext, useFactory: jsonpCallbackContext},
248 {provide: HTTP_INTERCEPTOR_FNS, useValue: jsonpInterceptorFn, multi: true},
249 ]);
250}
251
252/**
253 * Configures the current `HttpClient` instance to make requests via the parent injector's

Callers 2

provider_spec.tsFile · 0.90
module.tsFile · 0.90

Calls 1

makeHttpFeatureFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…