Companion
object Companion
Functions
Link copied to clipboard
fun new(domain: String, maxAge: <Error class: unknown class>, includeSubdomains: Boolean): HstsPolicy
Creates a new #SoupHSTSPolicy with the given attributes.
Link copied to clipboard
Parses @msg's first "Strict-Transport-Security" response header and returns a #SoupHSTSPolicy.
Link copied to clipboard
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.
Link copied to clipboard
Creates a new session #SoupHSTSPolicy with the given attributes.