gi-soup-2.4.25: Libsoup bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Soup.Objects.HSTSEnforcerDB

Description

No description available in the introspection data.

Synopsis

Exported types

class (GObject o, IsDescendantOf HSTSEnforcerDB o) => IsHSTSEnforcerDB o Source #

Type class for types which can be safely cast to HSTSEnforcerDB, for instance with toHSTSEnforcerDB.

Instances

Instances details
(GObject o, IsDescendantOf HSTSEnforcerDB o) => IsHSTSEnforcerDB o Source # 
Instance details

Defined in GI.Soup.Objects.HSTSEnforcerDB

toHSTSEnforcerDB :: (MonadIO m, IsHSTSEnforcerDB o) => o -> m HSTSEnforcerDB Source #

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

Methods

new

hSTSEnforcerDBNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Text

filename: the filename of the database to read/write from.

-> m HSTSEnforcerDB

Returns: the new HSTSEnforcer

Creates a HSTSEnforcerDB.

filename will be read in during the initialization of a HSTSEnforcerDB, in order to create an initial set of HSTS policies. If the file doesn't exist, a new database will be created and initialized. Changes to the policies during the lifetime of a HSTSEnforcerDB will be written to filename when changed is emitted.

Since: 2.68

Properties

filename

The filename of the SQLite database where HSTS policies are stored.

constructHSTSEnforcerDBFilename :: (IsHSTSEnforcerDB o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getHSTSEnforcerDBFilename :: (MonadIO m, IsHSTSEnforcerDB o) => o -> m (Maybe Text) Source #

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

get hSTSEnforcerDB #filename