2017-03-22 20:13:24 -04:00
|
|
|
/**
|
|
|
|
* @license
|
2020-05-19 15:08:49 -04:00
|
|
|
* Copyright Google LLC All Rights Reserved.
|
2017-03-22 20:13:24 -04:00
|
|
|
*
|
|
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
|
|
* found in the LICENSE file at https://angular.io/license
|
|
|
|
*/
|
|
|
|
|
2021-03-31 06:09:35 -04:00
|
|
|
import {XhrFactory as XhrFactory_fromAngularCommon} from '@angular/common';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* A wrapper around the `XMLHttpRequest` constructor.
|
|
|
|
*
|
|
|
|
* @publicApi
|
|
|
|
* @see `XhrFactory`
|
|
|
|
* @deprecated
|
|
|
|
* `XhrFactory` has moved, please import `XhrFactory` from `@angular/common` instead.
|
|
|
|
*/
|
|
|
|
export type XhrFactory = XhrFactory_fromAngularCommon;
|
|
|
|
/**
|
|
|
|
* A wrapper around the `XMLHttpRequest` constructor.
|
|
|
|
*
|
|
|
|
* @publicApi
|
|
|
|
* @see `XhrFactory`
|
|
|
|
* @deprecated
|
|
|
|
* `XhrFactory` has moved, please import `XhrFactory` from `@angular/common` instead.
|
|
|
|
*/
|
|
|
|
export const XhrFactory = XhrFactory_fromAngularCommon;
|
|
|
|
|
2017-03-22 20:13:24 -04:00
|
|
|
export {HttpBackend, HttpHandler} from './src/backend';
|
|
|
|
export {HttpClient} from './src/client';
|
2021-03-09 15:20:48 -05:00
|
|
|
export {HttpContext, HttpContextToken} from './src/context';
|
2017-03-22 20:13:24 -04:00
|
|
|
export {HttpHeaders} from './src/headers';
|
|
|
|
export {HTTP_INTERCEPTORS, HttpInterceptor} from './src/interceptor';
|
|
|
|
export {JsonpClientBackend, JsonpInterceptor} from './src/jsonp';
|
2018-05-31 13:35:51 -04:00
|
|
|
export {HttpClientJsonpModule, HttpClientModule, HttpClientXsrfModule, HttpInterceptingHandler as ɵHttpInterceptingHandler} from './src/module';
|
2020-03-03 10:51:32 -05:00
|
|
|
export {HttpParameterCodec, HttpParams, HttpParamsOptions, HttpUrlEncodingCodec} from './src/params';
|
2017-03-22 20:13:24 -04:00
|
|
|
export {HttpRequest} from './src/request';
|
2021-01-26 13:06:42 -05:00
|
|
|
export {HttpDownloadProgressEvent, HttpErrorResponse, HttpEvent, HttpEventType, HttpHeaderResponse, HttpProgressEvent, HttpResponse, HttpResponseBase, HttpSentEvent, HttpStatusCode, HttpUploadProgressEvent, HttpUserEvent} from './src/response';
|
2021-03-23 05:28:54 -04:00
|
|
|
export {HttpXhrBackend} from './src/xhr';
|
2017-07-14 12:44:33 -04:00
|
|
|
export {HttpXsrfTokenExtractor} from './src/xsrf';
|