The class closure for the #SoupHSTSEnforcer::changed signal.
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.
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.
The parent class.
Class structure for #SoupHSTSEnforcer.