Cache

constructor(cacheDir: String? = null, cacheType: CacheType)

Creates a new #SoupCache.

Return

a new #SoupCache

Parameters

cacheDir

the directory to store the cached data, or null to use the default one. Note that since the cache isn't safe to access for multiple processes at once, and the default directory isn't namespaced by process, clients are strongly discouraged from passing null.

cacheType

the #SoupCacheType of the cache


constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)