HSTSPolicy.full


Description:

[ CCode ( has_construct_function = false ) ]
public HSTSPolicy.full (string domain, ulong max_age, Date expires, bool include_subdomains)

Full version of HSTSPolicy(), to use with an existing expiration date.

See HSTSPolicy() for details.

Parameters:

domain

policy domain or hostname

max_age

max age of the policy

expires

the date of expiration of the policy or null for a permanent policy

include_subdomains

true if the policy applies on subdomains

Returns:

a new HSTSPolicy.