| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Soup.Objects.HSTSEnforcerDB
Description
No description available in the introspection data.
Synopsis
- newtype HSTSEnforcerDB = HSTSEnforcerDB (ManagedPtr HSTSEnforcerDB)
- class (GObject o, IsDescendantOf HSTSEnforcerDB o) => IsHSTSEnforcerDB o
- toHSTSEnforcerDB :: (MonadIO m, IsHSTSEnforcerDB o) => o -> m HSTSEnforcerDB
- hSTSEnforcerDBNew :: (HasCallStack, MonadIO m) => Text -> m HSTSEnforcerDB
- constructHSTSEnforcerDBFilename :: (IsHSTSEnforcerDB o, MonadIO m) => Text -> m (GValueConstruct o)
- getHSTSEnforcerDBFilename :: (MonadIO m, IsHSTSEnforcerDB o) => o -> m (Maybe Text)
Exported types
newtype HSTSEnforcerDB Source #
Memory-managed wrapper type.
Constructors
| HSTSEnforcerDB (ManagedPtr HSTSEnforcerDB) |
Instances
| Eq HSTSEnforcerDB Source # | |
Defined in GI.Soup.Objects.HSTSEnforcerDB Methods (==) :: HSTSEnforcerDB -> HSTSEnforcerDB -> Bool (/=) :: HSTSEnforcerDB -> HSTSEnforcerDB -> Bool | |
| GObject HSTSEnforcerDB Source # | |
Defined in GI.Soup.Objects.HSTSEnforcerDB | |
| ManagedPtrNewtype HSTSEnforcerDB Source # | |
Defined in GI.Soup.Objects.HSTSEnforcerDB Methods toManagedPtr :: HSTSEnforcerDB -> ManagedPtr HSTSEnforcerDB | |
| TypedObject HSTSEnforcerDB Source # | |
Defined in GI.Soup.Objects.HSTSEnforcerDB Methods glibType :: IO GType | |
| IsGValue HSTSEnforcerDB Source # | Convert |
Defined in GI.Soup.Objects.HSTSEnforcerDB | |
| HasParentTypes HSTSEnforcerDB Source # | |
Defined in GI.Soup.Objects.HSTSEnforcerDB | |
| type ParentTypes HSTSEnforcerDB Source # | |
Defined in GI.Soup.Objects.HSTSEnforcerDB | |
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
| (GObject o, IsDescendantOf HSTSEnforcerDB o) => IsHSTSEnforcerDB o Source # | |
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
Overloaded methods
new
Arguments
| :: (HasCallStack, MonadIO m) | |
| => Text |
|
| -> m HSTSEnforcerDB | Returns: the new |
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