gi-webkit2-4.0.30: WebKit2 bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.WebKit2.Objects.WebsiteDataManager

Description

Manages data stored locally by web sites.

You can use WebKitWebsiteDataManager to configure the local directories where website data will be stored. Use WebsiteDataManager:baseDataDirectory and WebsiteDataManager:baseCacheDirectory set a common base directory for all website data and caches. The newly created WebKitWebsiteDataManager must be passed as a construct property to a WebContext; you can use webContextNewWithWebsiteDataManager to create a new WebContext with a WebKitWebsiteDataManager. If you don't want to set any specific configuration, you don't need to create a WebKitWebsiteDataManager: the WebContext will create a WebKitWebsiteDataManager with the default configuration. To get the WebKitWebsiteDataManager of a WebContext, you can use webContextGetWebsiteDataManager.

A WebKitWebsiteDataManager can also be ephemeral, in which case all the directory configuration is not needed because website data will never persist. You can create an ephemeral WebKitWebsiteDataManager with websiteDataManagerNewEphemeral and pass the ephemeral WebKitWebsiteDataManager to a WebContext, or simply use webContextNewEphemeral.

WebKitWebsiteDataManager can also be used to fetch website data, remove data stored by particular websites, or clear data for all websites modified since a given period of time.

Since: 2.10

Synopsis

Exported types

newtype WebsiteDataManager Source #

Memory-managed wrapper type.

Constructors

WebsiteDataManager (ManagedPtr WebsiteDataManager) 

Instances

Instances details
Eq WebsiteDataManager Source # 
Instance details

Defined in GI.WebKit2.Objects.WebsiteDataManager

GObject WebsiteDataManager Source # 
Instance details

Defined in GI.WebKit2.Objects.WebsiteDataManager

ManagedPtrNewtype WebsiteDataManager Source # 
Instance details

Defined in GI.WebKit2.Objects.WebsiteDataManager

TypedObject WebsiteDataManager Source # 
Instance details

Defined in GI.WebKit2.Objects.WebsiteDataManager

Methods

glibType :: IO GType

HasParentTypes WebsiteDataManager Source # 
Instance details

Defined in GI.WebKit2.Objects.WebsiteDataManager

IsGValue (Maybe WebsiteDataManager) Source #

Convert WebsiteDataManager to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.WebKit2.Objects.WebsiteDataManager

type ParentTypes WebsiteDataManager Source # 
Instance details

Defined in GI.WebKit2.Objects.WebsiteDataManager

type ParentTypes WebsiteDataManager = '[Object]

class (GObject o, IsDescendantOf WebsiteDataManager o) => IsWebsiteDataManager o Source #

Type class for types which can be safely cast to WebsiteDataManager, for instance with toWebsiteDataManager.

Instances

Instances details
(GObject o, IsDescendantOf WebsiteDataManager o) => IsWebsiteDataManager o Source # 
Instance details

Defined in GI.WebKit2.Objects.WebsiteDataManager

toWebsiteDataManager :: (MonadIO m, IsWebsiteDataManager o) => o -> m WebsiteDataManager Source #

Cast to WebsiteDataManager, for types for which this is known to be safe. For general casts, use castTo.

Methods

clear

websiteDataManagerClear Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebsiteDataManager a, IsCancellable b) 
=> a

manager: a WebsiteDataManager

-> [WebsiteDataTypes]

types: WebsiteDataTypes

-> Int64

timespan: a GTimeSpan

-> Maybe b

cancellable: a Cancellable or Nothing to ignore

-> Maybe AsyncReadyCallback

callback: a AsyncReadyCallback to call when the request is satisfied

-> m () 

Asynchronously clear the website data of the given types modified in the past timespan.

If timespan is 0, all website data will be removed.

When the operation is finished, callback will be called. You can then call websiteDataManagerClearFinish to get the result of the operation.

Due to implementation limitations, this function does not currently delete any stored cookies if timespan is nonzero. This behavior may change in the future.

Since: 2.16

clearFinish

websiteDataManagerClearFinish Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebsiteDataManager a, IsAsyncResult b) 
=> a

manager: a WebsiteDataManager

-> b

result: a AsyncResult

-> m ()

(Can throw GError)

Finish an asynchronous operation started with websiteDataManagerClear

Since: 2.16

fetch

websiteDataManagerFetch Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebsiteDataManager a, IsCancellable b) 
=> a

manager: a WebsiteDataManager

-> [WebsiteDataTypes]

types: WebsiteDataTypes

-> Maybe b

cancellable: a Cancellable or Nothing to ignore

-> Maybe AsyncReadyCallback

callback: a AsyncReadyCallback to call when the request is satisfied

-> m () 

Asynchronously get the list of WebsiteData for the given types.

When the operation is finished, callback will be called. You can then call websiteDataManagerFetchFinish to get the result of the operation.

Since: 2.16

fetchFinish

websiteDataManagerFetchFinish Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebsiteDataManager a, IsAsyncResult b) 
=> a

manager: a WebsiteDataManager

-> b

result: a AsyncResult

-> m [WebsiteData]

Returns: a List of WebsiteData. You must free the List with g_list_free() and unref the WebsiteDatas with websiteDataUnref when you're done with them. (Can throw GError)

Finish an asynchronous operation started with websiteDataManagerFetch.

Since: 2.16

getBaseCacheDirectory

websiteDataManagerGetBaseCacheDirectory Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebsiteDataManager a) 
=> a

manager: a WebsiteDataManager

-> m (Maybe Text)

Returns: the base directory for caches, or Nothing if WebsiteDataManager:baseCacheDirectory was not provided or manager is ephemeral.

Get the WebsiteDataManager:baseCacheDirectory property.

Since: 2.10

getBaseDataDirectory

websiteDataManagerGetBaseDataDirectory Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebsiteDataManager a) 
=> a

manager: a WebsiteDataManager

-> m (Maybe Text)

Returns: the base directory for website data, or Nothing if WebsiteDataManager:baseDataDirectory was not provided or manager is ephemeral.

Get the WebsiteDataManager:baseDataDirectory property.

Since: 2.10

getCookieManager

getDiskCacheDirectory

websiteDataManagerGetDiskCacheDirectory Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebsiteDataManager a) 
=> a

manager: a WebsiteDataManager

-> m (Maybe Text)

Returns: the directory where HTTP disk cache is stored or Nothing if manager is ephemeral.

Deprecated: (Since version 2.40), use websiteDataManagerGetBaseCacheDirectory instead.

Get the WebsiteDataManager:diskCacheDirectory property.

Since: 2.10

getDomCacheDirectory

websiteDataManagerGetDomCacheDirectory Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebsiteDataManager a) 
=> a

manager: a WebsiteDataManager

-> m (Maybe Text)

Returns: the directory where DOM cache is stored or Nothing if manager is ephemeral.

Deprecated: (Since version 2.40), use websiteDataManagerGetBaseCacheDirectory instead.

Get the WebsiteDataManager:domCacheDirectory property.

Since: 2.30

getHstsCacheDirectory

websiteDataManagerGetHstsCacheDirectory Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebsiteDataManager a) 
=> a

manager: a WebsiteDataManager

-> m (Maybe Text)

Returns: the directory where the HSTS cache is stored or Nothing if manager is ephemeral.

Deprecated: (Since version 2.40), use websiteDataManagerGetBaseCacheDirectory instead.

Get the WebsiteDataManager:hstsCacheDirectory property.

Since: 2.26

getIndexeddbDirectory

websiteDataManagerGetIndexeddbDirectory Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebsiteDataManager a) 
=> a

manager: a WebsiteDataManager

-> m (Maybe Text)

Returns: the directory where IndexedDB databases are stored or Nothing if manager is ephemeral.

Deprecated: (Since version 2.40), use websiteDataManagerGetBaseDataDirectory instead.

Get the WebsiteDataManager:indexeddbDirectory property.

Since: 2.10

getItpDirectory

websiteDataManagerGetItpDirectory Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebsiteDataManager a) 
=> a

manager: a WebsiteDataManager

-> m (Maybe Text)

Returns: the directory where Intelligent Tracking Prevention data is stored or Nothing if manager is ephemeral.

Deprecated: (Since version 2.40), use websiteDataManagerGetBaseDataDirectory instead.

Get the WebsiteDataManager:itpDirectory property.

Since: 2.30

getItpEnabled

websiteDataManagerGetItpEnabled Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebsiteDataManager a) 
=> a

manager: a WebsiteDataManager

-> m Bool

Returns: True if ITP is enabled, or False otherwise.

Get whether Intelligent Tracking Prevention (ITP) is enabled or not.

Since: 2.30

getItpSummary

websiteDataManagerGetItpSummary Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebsiteDataManager a, IsCancellable b) 
=> a

manager: a WebsiteDataManager

-> Maybe b

cancellable: a Cancellable or Nothing to ignore

-> Maybe AsyncReadyCallback

callback: a AsyncReadyCallback to call when the request is satisfied

-> m () 

Asynchronously get the list of ITPThirdParty seen for manager.

Every ITPThirdParty contains the list of ITPFirstParty under which it has been seen.

When the operation is finished, callback will be called. You can then call websiteDataManagerGetItpSummaryFinish to get the result of the operation.

Since: 2.30

getItpSummaryFinish

websiteDataManagerGetItpSummaryFinish Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebsiteDataManager a, IsAsyncResult b) 
=> a

manager: a WebsiteDataManager

-> b

result: a AsyncResult

-> m [ITPThirdParty]

Returns: a List of ITPThirdParty. You must free the List with g_list_free() and unref the ITPThirdPartys with iTPThirdPartyUnref when you're done with them. (Can throw GError)

Finish an asynchronous operation started with websiteDataManagerGetItpSummary.

Since: 2.30

getLocalStorageDirectory

websiteDataManagerGetLocalStorageDirectory Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebsiteDataManager a) 
=> a

manager: a WebsiteDataManager

-> m (Maybe Text)

Returns: the directory where local storage data is stored or Nothing if manager is ephemeral.

Deprecated: (Since version 2.40), use websiteDataManagerGetBaseDataDirectory instead.

Get the WebsiteDataManager:localStorageDirectory property.

Since: 2.10

getOfflineApplicationCacheDirectory

websiteDataManagerGetOfflineApplicationCacheDirectory Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebsiteDataManager a) 
=> a

manager: a WebsiteDataManager

-> m (Maybe Text)

Returns: the directory where offline web application cache is stored or Nothing if manager is ephemeral.

Deprecated: (Since version 2.40), use websiteDataManagerGetBaseCacheDirectory instead.

Get the WebsiteDataManager:offlineApplicationCacheDirectory property.

Since: 2.10

getPersistentCredentialStorageEnabled

websiteDataManagerGetPersistentCredentialStorageEnabled Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebsiteDataManager a) 
=> a

manager: a WebsiteDataManager

-> m Bool

Returns: True if persistent credential storage is enabled, or False otherwise.

Get whether persistent credential storage is enabled or not.

See also websiteDataManagerSetPersistentCredentialStorageEnabled.

Since: 2.30

getServiceWorkerRegistrationsDirectory

websiteDataManagerGetServiceWorkerRegistrationsDirectory Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebsiteDataManager a) 
=> a

manager: a WebsiteDataManager

-> m (Maybe Text)

Returns: the directory where service worker registrations are stored or Nothing if manager is ephemeral.

Deprecated: (Since version 2.40), use websiteDataManagerGetBaseDataDirectory instead.

Get the WebsiteDataManager:serviceWorkerRegistrationsDirectory property.

Since: 2.30

getTlsErrorsPolicy

websiteDataManagerGetTlsErrorsPolicy Source #

Get the TLS errors policy of manager.

Since: 2.32

getWebsqlDirectory

websiteDataManagerGetWebsqlDirectory Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebsiteDataManager a) 
=> a

manager: a WebsiteDataManager

-> m (Maybe Text)

Returns: the directory where WebSQL databases are stored or Nothing if manager is ephemeral.

Deprecated: (Since version 2.24.)WebSQL is no longer supported. Use IndexedDB instead.

Get the WebsiteDataManager:websqlDirectory property.

Since: 2.10

isEphemeral

websiteDataManagerIsEphemeral Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebsiteDataManager a) 
=> a

manager: a WebsiteDataManager

-> m Bool

Returns: True if manager is ephemeral or False otherwise.

Get whether a WebsiteDataManager is ephemeral.

See WebsiteDataManager:isEphemeral for more details.

Since: 2.16

newEphemeral

websiteDataManagerNewEphemeral Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m WebsiteDataManager

Returns: a new ephemeral WebsiteDataManager.

Creates an ephemeral WebsiteDataManager.

See WebsiteDataManager:isEphemeral for more details.

Since: 2.16

remove

websiteDataManagerRemove Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebsiteDataManager a, IsCancellable b) 
=> a

manager: a WebsiteDataManager

-> [WebsiteDataTypes]

types: WebsiteDataTypes

-> [WebsiteData]

websiteData: a List of WebsiteData

-> Maybe b

cancellable: a Cancellable or Nothing to ignore

-> Maybe AsyncReadyCallback

callback: a AsyncReadyCallback to call when the request is satisfied

-> m () 

Asynchronously removes the website data in the given websiteData list.

Asynchronously removes the website data of the given types for websites in the given websiteData list. Use websiteDataManagerClear if you want to remove the website data for all sites.

When the operation is finished, callback will be called. You can then call websiteDataManagerRemoveFinish to get the result of the operation.

Since: 2.16

removeFinish

websiteDataManagerRemoveFinish Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebsiteDataManager a, IsAsyncResult b) 
=> a

manager: a WebsiteDataManager

-> b

result: a AsyncResult

-> m ()

(Can throw GError)

Finish an asynchronous operation started with websiteDataManagerRemove.

Since: 2.16

setItpEnabled

websiteDataManagerSetItpEnabled Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebsiteDataManager a) 
=> a

manager: a WebsiteDataManager

-> Bool

enabled: value to set

-> m () 

Enable or disable Intelligent Tracking Prevention (ITP).

When ITP is enabled resource load statistics are collected and used to decide whether to allow or block third-party cookies and prevent user tracking. Note that while ITP is enabled the accept policy CookieAcceptPolicyNoThirdParty is ignored and CookieAcceptPolicyAlways is used instead. See also cookieManagerSetAcceptPolicy.

Since: 2.30

setMemoryPressureSettings

websiteDataManagerSetMemoryPressureSettings Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> MemoryPressureSettings

settings: a WebKitMemoryPressureSettings.

-> m () 

Sets settings as the MemoryPressureSettings.

Sets settings as the MemoryPressureSettings to be used by all the network processes created by any instance of WebsiteDataManager after this function is called.

Be sure to call this function before creating any WebsiteDataManager, as network processes of existing instances are not guaranteed to receive the passed settings.

The periodic check for used memory is disabled by default on network processes. This will be enabled only if custom settings have been set using this function. After that, in order to remove the custom settings and disable the periodic check, this function must be called passing Nothing as the value of settings.

Since: 2.34

setNetworkProxySettings

websiteDataManagerSetNetworkProxySettings Source #

Set the network proxy settings to be used by connections started in manager session.

By default NetworkProxyModeDefault is used, which means that the system settings will be used (proxyResolverGetDefault). If you want to override the system default settings, you can either use NetworkProxyModeNoProxy to make sure no proxies are used at all, or NetworkProxyModeCustom to provide your own proxy settings. When proxyMode is NetworkProxyModeCustom proxySettings must be a valid NetworkProxySettings; otherwise, proxySettings must be Nothing.

Since: 2.32

setPersistentCredentialStorageEnabled

websiteDataManagerSetPersistentCredentialStorageEnabled Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebsiteDataManager a) 
=> a

manager: a WebsiteDataManager

-> Bool

enabled: value to set

-> m () 

Enable or disable persistent credential storage.

When enabled, which is the default for non-ephemeral sessions, the network process will try to read and write HTTP authentiacation credentials from persistent storage.

Since: 2.30

setTlsErrorsPolicy

websiteDataManagerSetTlsErrorsPolicy Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebsiteDataManager a) 
=> a

manager: a WebsiteDataManager

-> TLSErrorsPolicy

policy: a TLSErrorsPolicy

-> m () 

Set the TLS errors policy of manager as policy.

Since: 2.32

Properties

baseCacheDirectory

The base directory for caches. If Nothing, a default location will be used.

Since: 2.10

constructWebsiteDataManagerBaseCacheDirectory :: (IsWebsiteDataManager o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “base-cache-directory” property. This is rarely needed directly, but it is used by new.

getWebsiteDataManagerBaseCacheDirectory :: (MonadIO m, IsWebsiteDataManager o) => o -> m (Maybe Text) Source #

Get the value of the “base-cache-directory” property. When overloading is enabled, this is equivalent to

get websiteDataManager #baseCacheDirectory

baseDataDirectory

The base directory for website data. If Nothing, a default location will be used.

Since: 2.10

constructWebsiteDataManagerBaseDataDirectory :: (IsWebsiteDataManager o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “base-data-directory” property. This is rarely needed directly, but it is used by new.

getWebsiteDataManagerBaseDataDirectory :: (MonadIO m, IsWebsiteDataManager o) => o -> m (Maybe Text) Source #

Get the value of the “base-data-directory” property. When overloading is enabled, this is equivalent to

get websiteDataManager #baseDataDirectory

diskCacheDirectory

The directory where HTTP disk cache will be stored.

Since: 2.10

constructWebsiteDataManagerDiskCacheDirectory :: (IsWebsiteDataManager o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “disk-cache-directory” property. This is rarely needed directly, but it is used by new.

getWebsiteDataManagerDiskCacheDirectory :: (MonadIO m, IsWebsiteDataManager o) => o -> m (Maybe Text) Source #

Get the value of the “disk-cache-directory” property. When overloading is enabled, this is equivalent to

get websiteDataManager #diskCacheDirectory

domCacheDirectory

The directory where DOM cache will be stored.

Since: 2.30

constructWebsiteDataManagerDomCacheDirectory :: (IsWebsiteDataManager o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “dom-cache-directory” property. This is rarely needed directly, but it is used by new.

getWebsiteDataManagerDomCacheDirectory :: (MonadIO m, IsWebsiteDataManager o) => o -> m (Maybe Text) Source #

Get the value of the “dom-cache-directory” property. When overloading is enabled, this is equivalent to

get websiteDataManager #domCacheDirectory

hstsCacheDirectory

The directory where the HTTP Strict-Transport-Security (HSTS) cache will be stored.

Since: 2.26

constructWebsiteDataManagerHstsCacheDirectory :: (IsWebsiteDataManager o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “hsts-cache-directory” property. This is rarely needed directly, but it is used by new.

getWebsiteDataManagerHstsCacheDirectory :: (MonadIO m, IsWebsiteDataManager o) => o -> m (Maybe Text) Source #

Get the value of the “hsts-cache-directory” property. When overloading is enabled, this is equivalent to

get websiteDataManager #hstsCacheDirectory

indexeddbDirectory

The directory where IndexedDB databases will be stored.

Since: 2.10

constructWebsiteDataManagerIndexeddbDirectory :: (IsWebsiteDataManager o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “indexeddb-directory” property. This is rarely needed directly, but it is used by new.

getWebsiteDataManagerIndexeddbDirectory :: (MonadIO m, IsWebsiteDataManager o) => o -> m (Maybe Text) Source #

Get the value of the “indexeddb-directory” property. When overloading is enabled, this is equivalent to

get websiteDataManager #indexeddbDirectory

isEphemeral

Whether the WebsiteDataManager is ephemeral. An ephemeral WebsiteDataManager handles all websites data as non-persistent, and nothing will be written to the client storage. Note that if you create an ephemeral WebsiteDataManager all other construction parameters to configure data directories will be ignored.

Since: 2.16

constructWebsiteDataManagerIsEphemeral :: (IsWebsiteDataManager o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “is-ephemeral” property. This is rarely needed directly, but it is used by new.

getWebsiteDataManagerIsEphemeral :: (MonadIO m, IsWebsiteDataManager o) => o -> m Bool Source #

Get the value of the “is-ephemeral” property. When overloading is enabled, this is equivalent to

get websiteDataManager #isEphemeral

itpDirectory

The directory where Intelligent Tracking Prevention (ITP) data will be stored.

Since: 2.30

constructWebsiteDataManagerItpDirectory :: (IsWebsiteDataManager o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “itp-directory” property. This is rarely needed directly, but it is used by new.

getWebsiteDataManagerItpDirectory :: (MonadIO m, IsWebsiteDataManager o) => o -> m (Maybe Text) Source #

Get the value of the “itp-directory” property. When overloading is enabled, this is equivalent to

get websiteDataManager #itpDirectory

localStorageDirectory

The directory where local storage data will be stored.

Since: 2.10

constructWebsiteDataManagerLocalStorageDirectory :: (IsWebsiteDataManager o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “local-storage-directory” property. This is rarely needed directly, but it is used by new.

getWebsiteDataManagerLocalStorageDirectory :: (MonadIO m, IsWebsiteDataManager o) => o -> m (Maybe Text) Source #

Get the value of the “local-storage-directory” property. When overloading is enabled, this is equivalent to

get websiteDataManager #localStorageDirectory

offlineApplicationCacheDirectory

The directory where offline web application cache will be stored.

Since: 2.10

constructWebsiteDataManagerOfflineApplicationCacheDirectory :: (IsWebsiteDataManager o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “offline-application-cache-directory” property. This is rarely needed directly, but it is used by new.

getWebsiteDataManagerOfflineApplicationCacheDirectory :: (MonadIO m, IsWebsiteDataManager o) => o -> m (Maybe Text) Source #

Get the value of the “offline-application-cache-directory” property. When overloading is enabled, this is equivalent to

get websiteDataManager #offlineApplicationCacheDirectory

serviceWorkerRegistrationsDirectory

The directory where service workers registrations will be stored.

Since: 2.30

constructWebsiteDataManagerServiceWorkerRegistrationsDirectory :: (IsWebsiteDataManager o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “service-worker-registrations-directory” property. This is rarely needed directly, but it is used by new.

getWebsiteDataManagerServiceWorkerRegistrationsDirectory :: (MonadIO m, IsWebsiteDataManager o) => o -> m (Maybe Text) Source #

Get the value of the “service-worker-registrations-directory” property. When overloading is enabled, this is equivalent to

get websiteDataManager #serviceWorkerRegistrationsDirectory

websqlDirectory

The directory where WebSQL databases will be stored.

Since: 2.10

constructWebsiteDataManagerWebsqlDirectory :: (IsWebsiteDataManager o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “websql-directory” property. This is rarely needed directly, but it is used by new.

getWebsiteDataManagerWebsqlDirectory :: (MonadIO m, IsWebsiteDataManager o) => o -> m (Maybe Text) Source #

Get the value of the “websql-directory” property. When overloading is enabled, this is equivalent to

get websiteDataManager #websqlDirectory