HSTSPolicy.this

Full version of #soup_hsts_policy_new(), to use with an existing expiration date. See #soup_hsts_policy_new() for details.

Parameters

domain string

policy domain or hostname

maxAge ulong

max age of the policy

expires Date

the date of expiration of the policy or %NULL for a permanent policy

includeSubdomains bool

%TRUE if the policy applies on subdomains

Return Value

a new #SoupHSTSPolicy.

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.68