HSTSPolicy.newFull

soup.hstspolicy.HSTSPolicy newFull(string domain, gulong maxAge, glib.date_time.DateTime expires, bool includeSubdomains)

Full version of soup.hstspolicy.HSTSPolicy.new_, to use with an existing expiration date.

See soup.hstspolicy.HSTSPolicy.new_ for details.

Parameters

domainpolicy domain or hostname
maxAgemax age of the policy
expiresthe date of expiration of the policy or null for a permanent policy
includeSubdomainstrue if the policy applies on subdomains

Returns

a new #SoupHSTSPolicy.