HSTSEnforcerDB


Description:

[ CCode ( has_construct_function = false , type = "SoupHSTSEnforcer*" ) ]
[ Version ( since = "2.68" ) ]
public HSTSEnforcerDB (string filename)

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.

Parameters:

filename

the filename of the database to read/write from.

Returns:

the new HSTSEnforcer