HeaderEcho
object HeaderEcho
- Source:
- HeaderEcho.scala
Value members
Concrete methods
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.
- Value parameters:
- echoHeadersWhen
the function that selects which headers to echo on the response
- http
Http to transform
- Source:
- HeaderEcho.scala
def httpRoutes[F[_] : Functor](echoHeadersWhen: CIString => Boolean)(httpRoutes: HttpRoutes[F]): HttpRoutes[F]
- Source:
- HeaderEcho.scala