SoupHSTSEnforcerClass

Class structure for #SoupHSTSEnforcer.

Members

Variables

changed
void function(SoupHSTSEnforcer* enforcer, SoupHSTSPolicy* oldPolicy, SoupHSTSPolicy* newPolicy) changed;

The class closure for the #SoupHSTSEnforcer::changed signal.

hasValidPolicy
bool function(SoupHSTSEnforcer* hstsEnforcer, const(char)* domain) hasValidPolicy;

The @has_valid_policy function is called to check whether there is a valid policy for the given domain. This method should return true for #SoupHSTSEnforcer to change the scheme of the #GUri in the #SoupMessage to HTTPS. Implementations might want to chain up to the @has_valid_policy in the parent class to check, for instance, for runtime policies.

isPersistent
bool function(SoupHSTSEnforcer* hstsEnforcer) isPersistent;

The @is_persistent function advertises whether the enforcer is persistent or whether changes made to it will be lost when the underlying class@Session is finished.

padding
void*[4] padding;
parentClass
GObjectClass parentClass;

The parent class.