o

org.http4s.server.middleware

StaticHeaders

object StaticHeaders

Simple middleware for adding a static set of headers to responses returned by a kleisli.

Source
StaticHeaders.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StaticHeaders
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def apply[F[_], G[_], A](headers: Headers)(http: Kleisli[F, A, Response[G]])(implicit arg0: Functor[F]): Kleisli[F, A, Response[G]]
  2. def no-cache[F[_], G[_], A](http: Kleisli[F, A, Response[G]])(implicit arg0: Functor[F]): Kleisli[F, A, Response[G]]