forked from nativescript-community/https
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhttps.d.ts
More file actions
13 lines (10 loc) · 646 Bytes
/
Copy pathhttps.d.ts
File metadata and controls
13 lines (10 loc) · 646 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
import * as Https from './https.common';
export function enableSSLPinning(options: Https.HttpsSSLPinningOptions);
export function disableSSLPinning();
export function request<U extends boolean, T = any>(options: Https.HttpsRequestOptions, useLegacy?: U): U extends true ? Promise<Https.HttpsResponseLegacy<T>> : Promise<Https.HttpsResponse<T>>;
export function setCache(options?: Https.CacheOptions);
export function clearCache();
export function createRequest(opts: Https.HttpsRequestOptions): Https.HttpsRequest;
export function cancelRequest(tag: string);
export function addNetworkInterceptor(interceptor);
export * from './https.common';