HSTSEnforcerDB.this

this(void * ptr, Flag!"Take" take)
No documentation available for this declaration.
this(string filename)

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.

Parameters

filenamethe filename of the database to read/write from.

Returns

the new #SoupHSTSEnforcer