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 webkit.website_data.WebsiteData.getName. 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. #WebKitWebsiteDataTypes is an enum containing all the possible data types; use webkit.website_data.WebsiteData.getTypes to get the bitmask of data types. It's also possible to know the size of the data stored for some of the #WebKitWebsiteDataTypes by using webkit.website_data.WebsiteData.getSize.

A list of WebKitWebsiteData can be retrieved with webkit.website_data_manager.WebsiteDataManager.fetch. See #WebKitWebsiteDataManager for more information.

Constructors

this
this(void* ptr, Flag!"Take" take)

Members

Functions

cPtr
void* cPtr(Flag!"Dup" dup)
getName
string getName()

Gets the name of #WebKitWebsiteData.

getSize
ulong getSize(webkit.types.WebsiteDataTypes types)

Gets the size of the data of types types in a #WebKitWebsiteData.

getTypes
webkit.types.WebsiteDataTypes getTypes()

Gets the types of data stored in the client for a #WebKitWebsiteData.

self
WebsiteData self()

Returns this, for use in with statements.

Properties

gType
GType gType [@property getter]

Static functions

getGType
GType getGType()

Inherited Members

From Boxed

cInstancePtr
void* cInstancePtr;

Pointer to the C boxed value

getType
GType getType()

Get the GType of this boxed type.

gType
GType gType [@property getter]

Boxed GType property.

self
Boxed self()

Convenience method to return this cast to a type. For use in D with statements.

copy_
void* copy_()

Make a copy of the wrapped C boxed data.

boxedCopy
void* boxedCopy(void* cBoxed)

Copy a C boxed value using g_boxed_copy.

boxedFree
void boxedFree(void* cBoxed)

Free a C boxed value using g_boxed_free.