Class
SoupCache
Description [src]
class Soup.Cache : GObject.Object {
parent_instance: GObject
}
File-based cache for HTTP resources.
Constructors
soup_cache_new
Creates a new SoupCache
.
Instance methods
soup_cache_clear
Will remove all entries in the cache
plus all the cache files.
soup_cache_dump
Synchronously writes the cache index out to disk.
soup_cache_flush
Forces all pending writes in the cache
to be
committed to disk.
soup_cache_get_max_size
Gets the maximum size of the cache.
soup_cache_load
Loads the contents of cache
‘s index into memory.
soup_cache_set_max_size
Sets the maximum size of the cache.
Properties
Soup.Cache:cache-dir
The directory to store the cache files.
Soup.Cache:cache-type
Whether the cache is private or shared.
Signals
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct SoupCacheClass {
GObjectClass parent_class;
SoupCacheability (* get_cacheability) (
SoupCache* cache,
SoupMessage* msg
);
None padding;
}
Class members
parent_class |
|
No description available. | |
get_cacheability |
|
No description available. | |
padding |
|
No description available. |
Virtual methods
Soup.CacheClass.get_cacheability
No description available.