StrictTransportSecurity

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
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all

Members list

Type members

Types

override type Self = StrictTransportSecurity

Value members

Concrete methods

Attributes

Definition Classes
override def self: Self

Attributes

Definition Classes

Inherited methods

Attributes

Inherited from:
Header

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Header

Attributes

Inherited from:
Header