WebsiteData


Object Hierarchy:

WebKit.WebsiteData WebKit.WebsiteData WebKit.WebsiteData

Description:

[ CCode ( ref_function = "webkit_website_data_ref" , type_id = "webkit_website_data_get_type ()" , unref_function = "webkit_website_data_unref" ) ]
[ Compact ]
[ Version ( since = "2.16" ) ]
public class WebsiteData

Data stored locally by a web site.

WebKitWebsiteData represents data stored in the client by a particular website. A website is normally a set of URLs grouped by domain name. You can get the website name, which is usually the domain, with get_name . Documents loaded from the file system, like file:// URIs, are all grouped in the same WebKitWebsiteData with the name "Local files".

A website can store different types of data in the client side. WebsiteDataTypes is an enum containing all the possible data types; use get_types to get the bitmask of data types. It's also possible to know the size of the data stored for some of the WebsiteDataTypes by using get_size.

A list of WebKitWebsiteData can be retrieved with fetch. See WebsiteDataManager for more information.


Namespace: WebKit
Package: webkit2gtk-4.0

Content:

Methods: