An HTTP middleware converts an HttpService to another.
A Service that produces a Task to compute a Response from a Request.
A Service that produces a Task to compute a Response from a Request. An HttpService can be run on any supported http4s server backend, such as Blaze, Jetty, or Tomcat.
A middleware is a function of one Service to another, possibly of a different Request and Response type.
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 Service that returns an optional result.
A Service wraps a function of request type A to a Task that runs to esponse type B.
A Service wraps a function of request type A to a Task that runs
to esponse type B. By wrapping the Service
, we can compose them
using Kleisli operations.
Helpers for serving static content from http4s