soup.cache
Module for [Cache] class
Types 3
File-based cache for HTTP resources.
Methods
CacheGidBuilder builder() static nothrowGet builder for [soup.cache.Cache] Returns: New builder objectstring cacheDir() @property nothrowGet `cacheDir` property. Returns: The directory to store the cache files.soup.types.CacheType cacheType() @property nothrowGet `cacheType` property. Returns: Whether the cache is private or shared.uint getMaxSize() nothrowGets the maximum size of the cache. Returns: the maximum size of the cache, in bytes.Constructors
this(string cacheDir, soup.types.CacheType cacheType)Creates a new #SoupCache.classCacheGidBuilderImpl(T) : gobject.object.ObjectWrapGidBuilderImpl!T, soup.session_feature.SessionFeatureGidBuilderImpl!T
Fluent builder implementation template for soup.cache.Cache
Methods
T cacheDir(string propval) nothrowSet `cacheDir` property. Params: propval = The directory to store the cache files. Returns: Builder instance for fluent chainingT cacheType(soup.types.CacheType propval) nothrowSet `cacheType` property. Params: propval = Whether the cache is private or shared. Returns: Builder instance for fluent chainingFluent builder for soup.cache.Cache