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
class Configuration
HSTS configuration |
|
companion object Feature : ApplicationFeature<ApplicationCallPipeline, Configuration, HSTS>
Feature installation object |
HSTS(config: Configuration)
HSTS feature that appends |
val headerValue: String
Constructed |
fun intercept(call: ApplicationCall): Unit
Feature's main interceptor, usually installed by the feature itself |
const val DEFAULT_HSTS_MAX_AGE: Long |
|
val key: AttributeKey<HSTS>
Unique key that identifies a feature |
fun install(pipeline: ApplicationCallPipeline, configure: Configuration.() -> Unit): HSTS
Feature installation script |