()
| 242 | * @see {@link provideHttpClient} |
| 243 | */ |
| 244 | export 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 |
no test coverage detected
searching dependent graphs…