StaticHeaders

org.http4s.server.middleware.StaticHeaders$

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

Attributes

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

Members list

Concise view

Value members

Concrete methods

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

Attributes

Source:
StaticHeaders.scala
def no-cache[F[_] : Functor, G[_], A](http: Kleisli[F, A, Response[G]]): Kleisli[F, A, Response[G]]

Attributes

Source:
StaticHeaders.scala