zio.http.Header.StrictTransportSecurity
See theStrictTransportSecurity companion object
final case class StrictTransportSecurity(maxAge: Long, includeSubDomains: Boolean = ..., preload: Boolean = ...) extends Header
The Strict-Transport-Security response header informs browsers that the site should only be accessed using HTTPS, and that any future attempts to access it using HTTP should automatically be converted to HTTPS.
See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
In this article