org.http4s.server
package org.http4s.server
Type members
Classlikes
Types
An HTTP middleware converts an HttpRoutes to another.
An HTTP middleware converts an HttpRoutes to another.
A middleware is a function of one Service to another, possibly of a different Request and Response type. http4s comes with several middlewares for composing common functionality into services.
A middleware is a function of one Service to another, possibly of a different Request and Response type. http4s comes with several middlewares for composing common functionality into services.
- Type parameters:
- A
the request type of the original service
- B
the response type of the original service
- C
the request type of the resulting service
- D
the response type of the resulting service
- F
the effect type of the services
Value members
Concrete methods
def DefaultServiceErrorHandler[F[_]](implicit F: Monad[F]): Request[F] => PartialFunction[Throwable, F[Response[F]]]
def inDefaultServiceErrorHandler[F[_], G[_]](implicit F: Monad[F]): Request[G] => PartialFunction[Throwable, F[Response[G]]]