newFull

fun newFull(domain: String, maxAge: <Error class: unknown class>, expires: <Error class: unknown class>, includeSubdomains: Boolean): HstsPolicy

Full version of ctor@HSTSPolicy.new, to use with an existing expiration date.

See ctor@HSTSPolicy.new for details.

Return

a new #SoupHSTSPolicy.

Parameters

domain

policy domain or hostname

maxAge

max age of the policy

expires

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

includeSubdomains

true if the policy applies on subdomains