Sets our main struct and passes it to the parent class.
Creates a new #SoupCache.
Will remove all entries in the @cache plus all the cache files.
Synchronously writes the cache index out to disk. Contrast with soup_cache_flush(), which writes pending cache <emphasis>entries</emphasis> to disk.
This function will force all pending writes in the @cache to be committed to disk. For doing so it will iterate the #GMainContext associated with @cache's session as long as needed.
Get the main Gtk struct
Gets the maximum size of the cache.
the main Gtk struct as a void*
Loads the contents of @cache's index into memory.
Sets the maximum size of the cache.
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Adds a "sub-feature" of type @type to the base feature @feature. This is used for features that can be extended with multiple different types. Eg, the authentication manager can be extended with subtypes of #SoupAuth.
Tests if @feature has a "sub-feature" of type @type. See soup_session_feature_add_feature().
Removes the "sub-feature" of type @type from the base feature @feature. See soup_session_feature_add_feature().
#SoupCache implements a file-based cache for HTTP resources.