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 b832864 commit 374cd92Copy full SHA for 374cd92
src/https.ios.ts
@@ -20,9 +20,7 @@ export function setCache(options?: Https.CacheOptions) {
20
NSURLCache.sharedURLCache = cache;
21
}
22
export function clearCache() {
23
- if (cache) {
24
- cache.removeAllCachedResponses();
25
- }
+ NSURLCache.sharedURLCache.removeAllCachedResponses();
26
27
28
interface Ipolicies {
0 commit comments