StaticHeaders

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

Source:
StaticHeaders.scala
class Object
trait Matchable
class Any

Value members

Concrete methods

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