HSTSEnforcer.getPolicies

soup.hstspolicy.HSTSPolicy[] getPolicies(bool sessionPolicies)

Gets a list with the policies in enforcer.

Parameters

sessionPolicieswhether to include session policies

Returns

a newly

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