Encapsulates the notion of fallthrough orElse for a Service For any given B, if a Fallthrough[B] exists within implicit context then Service#orElse can be used.
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 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.
Houses the principal Fallthrough typeclass instances.
There are 4 HttpService constructors:
Helpers for serving static content from http4s