()
| 298 | * @deprecated `withFetch` is not required anymore. `FetchBackend` is the default `HttpBackend`. |
| 299 | */ |
| 300 | export function withFetch(): HttpFeature<HttpFeatureKind.Fetch> { |
| 301 | return makeHttpFeature(HttpFeatureKind.Fetch, [ |
| 302 | FetchBackend, |
| 303 | {provide: HttpBackend, useExisting: FetchBackend}, |
| 304 | ]); |
| 305 | } |
| 306 | |
| 307 | /** |
| 308 | * Configures the current `HttpClient` instance to make requests using the Xhr API. |
no test coverage detected
searching dependent graphs…