Soup.HSTSEnforcerClass

Fields

Name

Type

Access

Description

changed

object

r

The class closure for the Soup.HSTSEnforcer ::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 Soup.HSTSEnforcer to change the scheme of the GLib.Uri in the Soup.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 Soup.HSTSEnforcer.