HSTSEnforcerDB.this

Creates a #SoupHSTSEnforcerDB.

@filename will be read in during the initialization of a #SoupHSTSEnforcerDB, 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 #SoupHSTSEnforcerDB will be written to @filename when #SoupHSTSEnforcer::changed is emitted.

  1. this(SoupHSTSEnforcerDB* soupHSTSEnforcerDB, bool ownedRef)
  2. this(string filename)
    class HSTSEnforcerDB
    this
    (
    string filename
    )

Parameters

filename string

the filename of the database to read/write from.

Return Value

the new #SoupHSTSEnforcer

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.68