refactor(http): use ngModules for http (#10329)

This commit is contained in:
Rob Wormald
2016-07-27 13:09:05 -07:00
committed by GitHub
parent 3b690b68a6
commit 422effdd18
2 changed files with 39 additions and 4 deletions

View File

@ -1,3 +1,6 @@
/** @experimental */
export declare function _createDefaultCookieXSRFStrategy(): CookieXSRFStrategy;
/** @experimental */
export declare class BaseRequestOptions extends RequestOptions {
constructor();
@ -70,12 +73,16 @@ export declare class Http {
/** @deprecated */
export declare const HTTP_BINDINGS: any[];
/** @experimental */
/** @deprecated */
export declare const HTTP_PROVIDERS: any[];
/** @experimental */
export declare function httpFactory(xhrBackend: XHRBackend, requestOptions: RequestOptions): Http;
/** @experimental */
export declare class HttpModule {
}
/** @deprecated */
export declare const JSON_BINDINGS: any[];
@ -100,6 +107,10 @@ export declare abstract class JSONPConnection implements Connection {
abstract finished(data?: any): void;
}
/** @experimental */
export declare class JsonpModule {
}
/** @experimental */
export declare class QueryEncoder {
encodeKey(k: string): string;