object HeaderEcho

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

Value Members

  1. def apply[F[_], G[_]](echoHeadersWhen: (CIString) ⇒ Boolean)(http: Http[F, G])(implicit arg0: Functor[F]): Http[F, G]

    Simple server middleware that adds selected headers present on the request to the response.

    Simple server middleware that adds selected headers present on the request to the response.

    echoHeadersWhen

    the function that selects which headers to echo on the response

    http

    Http to transform

  2. def httpApp[F[_]](echoHeadersWhen: (CIString) ⇒ Boolean)(httpApp: HttpApp[F])(implicit arg0: Functor[F]): HttpApp[F]
  3. def httpRoutes[F[_]](echoHeadersWhen: (CIString) ⇒ Boolean)(httpRoutes: HttpRoutes[F])(implicit arg0: Functor[F]): HttpRoutes[F]