HSTS

org.http4s.server.middleware.HSTS$
object HSTS

Middleware to add HTTP Strict Transport Security (HSTS) support adding the Strict Transport Security headers

Attributes

Source:
HSTS.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
HSTS.type

Members list

Concise view

Type members

Classlikes

object httpApp

Attributes

Source:
HSTS.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
httpApp.type
object httpRoutes

Attributes

Source:
HSTS.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def apply[F[_] : Functor, A, G[_]](routes: Kleisli[F, A, Response[G]]): Kleisli[F, A, Response[G]]

Attributes

Source:
HSTS.scala
def apply[F[_] : Functor, A, G[_]](http: Kleisli[F, A, Response[G]], header: Strict-Transport-Security): Kleisli[F, A, Response[G]]

Attributes

Source:
HSTS.scala
def unsafeFromDuration[F[_] : Functor, A, G[_]](http: Kleisli[F, A, Response[G]], maxAge: FiniteDuration, includeSubDomains: Boolean, preload: Boolean): Kleisli[F, A, Response[G]]

Attributes

Source:
HSTS.scala