Package io.ktor.server.plugins.hsts

Types

Link copied to clipboard
class HSTSConfig

A configuration for the HSTS plugin.

Properties

Link copied to clipboard
val HSTS: <ERROR CLASS><HSTSConfig>

A plugin that appends the Strict-Transport-Security HTTP header to every response.

Link copied to clipboard
var HSTSConfig.maxAgeDuration: Duration

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