HSTSEnforcer.getPolicies

Gets a list with the policies in enforcer.

class HSTSEnforcer
getPolicies

Parameters

sessionPolicies bool

whether to include session policies

Return Value

Type: soup.hstspolicy.HSTSPolicy[]

a newly allocated list of policies. Use glib.list.List.freeFull and soup.hstspolicy.HSTSPolicy.free to free the list.