We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2ae8de commit 4ad21e3Copy full SHA for 4ad21e3
1 file changed
src/https/request.d.ts
@@ -32,7 +32,7 @@ export interface Headers {
32
[k: string]: string;
33
}
34
35
-export type CachePolicy = 'noCache' | 'onlyCache' | 'ignoreCache';
+export type CachePolicy = 'noCache' | 'offlineCache' | 'onlyCache' | 'ignoreCache';
36
export interface HttpsRequestOptions extends HttpRequestOptions {
37
url: string;
38
tag?: string; // optional request tag to allow to cancel it
@@ -68,6 +68,7 @@ export interface HttpsRequestOptions extends HttpRequestOptions {
68
progressOnMainThread?: boolean;
69
70
cachePolicy?: CachePolicy;
71
+ nativeCachePolicy?: any;
72
73
/**
74
* default to true. Android and iOS only store cookies in memory! it will be cleared after an app restart
0 commit comments