HSTSPolicy.full


Description:

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

Full version of [ctor@HSTSPolicy.

new], to use with an existing expiration date.

See [ctor@HSTSPolicy.new] 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.