HSTSHostConfig

open class HSTSHostConfig

A configuration for the HSTS settings for a host.

Constructors

Link copied to clipboard

Properties

Link copied to clipboard

Allows you to add custom directives supported by a specific user agent.

Link copied to clipboard

Specifies the includeSubDomains directive, which applies this policy to any subdomains as well.

Link copied to clipboard

Specifies how long (in seconds) the client should keep the host in a list of known HSTS hosts:

Link copied to clipboard
var preload: Boolean = false

Specifies the preload HSTS directive, which allows you to include your domain name in the HSTS preload list.

Inheritors

Link copied to clipboard