HSTSEnforcer.setSessionPolicy

Sets a session policy for @domain. A session policy is a policy that is permanent to the lifetime of @hsts_enforcer's #SoupSession and doesn't expire.

class HSTSEnforcer
void
setSessionPolicy

Parameters

domain string

policy domain or hostname

includeSubdomains bool

%TRUE if the policy applies on sub domains

Meta

Since

2.68