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
Source
Header.scala
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

Attributes

Source
Header.scala

Value members

Concrete methods

Attributes

Definition Classes
Source
Header.scala
override def self: Self

Attributes

Definition Classes
Source
Header.scala

Inherited methods

Attributes

Inherited from:
Header
Source
Header.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Header
Source
Header.scala

Attributes

Inherited from:
Header
Source
Header.scala