HSTSEnforcer.setSessionPolicy
void setSessionPolicy(string domain, bool includeSubdomains)Sets a session policy for domain.
A session policy is a policy that is permanent to the lifetime of hsts_enforcer's classSession and doesn't expire.
Parameters
domain | policy domain or hostname |
includeSubdomains | true if the policy applies on sub domains |