UNPKG

1.05 kBTypeScriptView Raw
1/**
2 * @license
3 * Copyright Google Inc. All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { JSONPBackend } from './backends/jsonp_backend';
9import { CookieXSRFStrategy, XHRBackend } from './backends/xhr_backend';
10import { RequestOptions } from './base_request_options';
11import { Http, Jsonp } from './http';
12export declare function _createDefaultCookieXSRFStrategy(): CookieXSRFStrategy;
13export declare function httpFactory(xhrBackend: XHRBackend, requestOptions: RequestOptions): Http;
14export declare function jsonpFactory(jsonpBackend: JSONPBackend, requestOptions: RequestOptions): Jsonp;
15/**
16 * The module that includes http's providers
17 *
18 * @deprecated see https://angular.io/guide/http
19 * @publicApi
20 */
21export declare class HttpModule {
22}
23/**
24 * The module that includes jsonp's providers
25 *
26 * @deprecated see https://angular.io/api/common/http/HttpClient#jsonp
27 * @publicApi
28 */
29export declare class JsonpModule {
30}