HSTS

class HSTS(config: HSTS.Configuration)

HSTS feature that appends Strict-Transport-Security HTTP header to every response. See http://ktor.io/servers/features/hsts.html for details See RFC 6797 https://tools.ietf.org/html/rfc6797

Constructors

Link copied to clipboard
fun HSTS(config: HSTS.Configuration)

Types

Link copied to clipboard
class Configuration

HSTS configuration

Link copied to clipboard

Feature installation object

Functions

Link copied to clipboard
fun intercept(call: ApplicationCall)

Feature's main interceptor, usually installed by the feature itself

Properties

Link copied to clipboard
val headerValue: String

Constructed Strict-Transport-Security header value