HSTS
class HSTS
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
Types
class Configuration HSTS configuration |
|
companion object Feature : Feature installation object |
Constructors
HSTS(config: Configuration) HSTS feature that appends |
Properties
val headerValue: String Constructed |
Functions
fun intercept(call: ApplicationCall): Unit Feature’s main interceptor, usually installed by the feature itself |
Companion Object Properties
val key: AttributeKey<HSTS> Unique key that identifies a feature |
Companion Object Functions
fun install( Feature installation script |