|
6 | 6 | * found in the LICENSE file at https://angular.io/license |
7 | 7 | */ |
8 | 8 |
|
9 | | -import {XhrFactory as XhrFactory_fromAngularCommon} from '@angular/common'; |
10 | | - |
11 | | -/** |
12 | | - * A wrapper around the `XMLHttpRequest` constructor. |
13 | | - * |
14 | | - * @publicApi |
15 | | - * @see `XhrFactory` |
16 | | - * @deprecated |
17 | | - * `XhrFactory` has moved, please import `XhrFactory` from `@angular/common` instead. |
18 | | - */ |
19 | | -export type XhrFactory = XhrFactory_fromAngularCommon; |
20 | | -/** |
21 | | - * A wrapper around the `XMLHttpRequest` constructor. |
22 | | - * |
23 | | - * @publicApi |
24 | | - * @see `XhrFactory` |
25 | | - * @deprecated |
26 | | - * `XhrFactory` has moved, please import `XhrFactory` from `@angular/common` instead. |
27 | | - */ |
28 | | -export const XhrFactory = XhrFactory_fromAngularCommon; |
29 | | - |
30 | 9 | export {HttpBackend, HttpHandler} from './src/backend'; |
31 | 10 | export {HttpClient} from './src/client'; |
32 | 11 | export {HttpContext, HttpContextToken} from './src/context'; |
33 | 12 | export {HttpHeaders} from './src/headers'; |
34 | | -export {HTTP_INTERCEPTORS, HttpInterceptor, HttpInterceptorHandler as ɵHttpInterceptorHandler, HttpInterceptorFn, HttpHandlerFn} from './src/interceptor'; |
| 13 | +export {HTTP_INTERCEPTORS, HttpHandlerFn, HttpInterceptor, HttpInterceptorFn, HttpInterceptorHandler as ɵHttpInterceptorHandler, HttpInterceptorHandler as ɵHttpInterceptingHandler} from './src/interceptor'; |
35 | 14 | export {JsonpClientBackend, JsonpInterceptor} from './src/jsonp'; |
36 | 15 | export {HttpClientJsonpModule, HttpClientModule, HttpClientXsrfModule} from './src/module'; |
37 | 16 | export {HttpParameterCodec, HttpParams, HttpParamsOptions, HttpUrlEncodingCodec} from './src/params'; |
38 | | -export {HttpFeature, HttpFeatureKind, provideHttpClient, withJsonpSupport, withNoXsrfProtection, withXsrfConfiguration, withInterceptors, withInterceptorsFromDi, withRequestsMadeViaParent} from './src/provider'; |
| 17 | +export {HttpFeature, HttpFeatureKind, provideHttpClient, withInterceptors, withInterceptorsFromDi, withJsonpSupport, withNoXsrfProtection, withRequestsMadeViaParent, withXsrfConfiguration} from './src/provider'; |
39 | 18 | export {HttpRequest} from './src/request'; |
40 | 19 | export {HttpDownloadProgressEvent, HttpErrorResponse, HttpEvent, HttpEventType, HttpHeaderResponse, HttpProgressEvent, HttpResponse, HttpResponseBase, HttpSentEvent, HttpStatusCode, HttpUploadProgressEvent, HttpUserEvent} from './src/response'; |
41 | 20 | export {HttpXhrBackend} from './src/xhr'; |
42 | 21 | export {HttpXsrfTokenExtractor} from './src/xsrf'; |
43 | | - |
44 | | -// This re-export exists because g3 depends on this old private name. |
45 | | -export {HttpInterceptorHandler as ɵHttpInterceptingHandler} from './src/interceptor'; |
0 commit comments