get_policies


Description:

public List<HSTSPolicy> get_policies (bool session_policies)

Gets a list with the policies in enforcer.

Parameters:

this

a HSTSEnforcer

session_policies

whether to include session policies

Returns:

a newly allocated list of policies. Use [func@GLib.List.free_full] and [method@HSTSPolicy.free] to free the list.