Configuration

class Configuration

HSTS configuration

Constructors

<init>

Configuration()

HSTS configuration

Properties

customDirectives

val customDirectives: MutableMap<String, String?>

Any custom directives supported by specific user-agent

includeSubDomains

var includeSubDomains: Boolean

Adds includeSubDomains directive, which applies this policy to this domain and any subdomains

maxAge

var maxAge: Duration

Duration to tell the client to keep the host in a list of known HSTS hosts

preload

var preload: Boolean

Consents that the policy allows including the domain into web browser preloading list