HSTSPolicy.this
this
(void * ptr, Flag!"Take" take)No documentation available for this declaration.
this
(string domain, gulong maxAge, bool includeSubdomains)Creates a new #SoupHSTSPolicy with the given attributes.
domain is a domain on which the strict transport security policy represented by this object must be enforced.
max_age is used to set the "expires" attribute on the policy; pass [soup.types.HSTS_POLICY_MAX_AGE_PAST] for an already-expired policy, or a lifetime in seconds.
If include_subdomains is true, the strict transport security policy must also be enforced on all subdomains of domain.
Parameters
domain | policy domain or hostname |
maxAge | max age of the policy |
includeSubdomains | true if the policy applies on subdomains |
Returns
a new #SoupHSTSPolicy.