Soup.HSTSEnforcerClass

Fields

Name

Type

Access

Description

changed

object

r

The class closure for the [signal`HSTSEnforcer`:py:func:::changed<Soup.HSTSEnforcerClass.signals.changed>] signal.

has_valid_policy

object

r

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 [class`HSTSEnforcer`] to change the scheme of the GLib.Uri in the [class`Message`] to HTTPS. Implementations might want to chain up to the has_valid_policy in the parent class to check, for instance, for runtime policies.

is_persistent

object

r

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

[object]

r

parent_class

GObject.ObjectClass

r

The parent class.

Methods

None

Details

class Soup.HSTSEnforcerClass

Class structure for [class`HSTSEnforcer`].