feat(http.ts): export BrowserXHR
needed for replacing BrowserXHR bindings with mock/server version etc Closes #2641
This commit is contained in:
parent
4dc6d748a9
commit
8a91d71625
|
@ -12,11 +12,11 @@ import {BrowserXhr} from 'angular2/src/http/backends/browser_xhr';
|
||||||
import {BrowserJsonp} from 'angular2/src/http/backends/browser_jsonp';
|
import {BrowserJsonp} from 'angular2/src/http/backends/browser_jsonp';
|
||||||
import {BaseRequestOptions, RequestOptions} from 'angular2/src/http/base_request_options';
|
import {BaseRequestOptions, RequestOptions} from 'angular2/src/http/base_request_options';
|
||||||
import {ConnectionBackend} from 'angular2/src/http/interfaces';
|
import {ConnectionBackend} from 'angular2/src/http/interfaces';
|
||||||
|
import {BaseResponseOptions, ResponseOptions} from 'angular2/src/http/base_response_options';
|
||||||
|
|
||||||
export {MockConnection, MockBackend} from 'angular2/src/http/backends/mock_backend';
|
export {MockConnection, MockBackend} from 'angular2/src/http/backends/mock_backend';
|
||||||
export {Request} from 'angular2/src/http/static_request';
|
export {Request} from 'angular2/src/http/static_request';
|
||||||
export {Response} from 'angular2/src/http/static_response';
|
export {Response} from 'angular2/src/http/static_response';
|
||||||
import {BaseResponseOptions, ResponseOptions} from 'angular2/src/http/base_response_options';
|
|
||||||
|
|
||||||
export {
|
export {
|
||||||
IRequestOptions,
|
IRequestOptions,
|
||||||
|
@ -25,6 +25,7 @@ export {
|
||||||
ConnectionBackend
|
ConnectionBackend
|
||||||
} from 'angular2/src/http/interfaces';
|
} from 'angular2/src/http/interfaces';
|
||||||
|
|
||||||
|
export {BrowserXhr} from 'angular2/src/http/backends/browser_xhr';
|
||||||
export {BaseRequestOptions, RequestOptions} from 'angular2/src/http/base_request_options';
|
export {BaseRequestOptions, RequestOptions} from 'angular2/src/http/base_request_options';
|
||||||
export {BaseResponseOptions, ResponseOptions} from 'angular2/src/http/base_response_options';
|
export {BaseResponseOptions, ResponseOptions} from 'angular2/src/http/base_response_options';
|
||||||
export {XHRBackend, XHRConnection} from 'angular2/src/http/backends/xhr_backend';
|
export {XHRBackend, XHRConnection} from 'angular2/src/http/backends/xhr_backend';
|
||||||
|
|
Loading…
Reference in New Issue