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 signalHSTSEnforcer::changed is emitted.

  1. this(void* ptr, Flag!"Take" take)
  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