set_session_policy


Description:

public void set_session_policy (string domain, bool include_subdomains)

Sets a session policy for domain.

A session policy is a policy that is permanent to the lifetime of this's [class@Session] and doesn't expire.

Parameters:

this

a HSTSEnforcer

domain

policy domain or hostname

include_subdomains

true if the policy applies on sub domains