Http4sAdapter
Value members
Concrete methods
If you wish to use Http4sServerInterpreter
with cats-effect IO instead of ZHttp4sServerInterpreter
,
you can use this function to convert the tapir endpoints to their cats-effect counterpart.
If you wish to use Http4sServerInterpreter
with cats-effect IO instead of ZHttp4sServerInterpreter
,
you can use this function to convert the tapir endpoints to their cats-effect counterpart.
If you wish to use Http4sServerInterpreter
with cats-effect IO instead of ZHttp4sServerInterpreter
,
you can use this function to convert the tapir endpoints to their cats-effect counterpart.
If you wish to use Http4sServerInterpreter
with cats-effect IO instead of ZHttp4sServerInterpreter
,
you can use this function to convert the tapir endpoints to their cats-effect counterpart.
Utility function to create an http4s middleware that can extracts something from each request and provide a layer to eliminate the ZIO environment
Utility function to create an http4s middleware that can extracts something from each request and provide a layer to eliminate the ZIO environment
- Type Params
- R
the environment type to eliminate
- Value Params
- f
a function from a request to a ZLayer
- route
an http4s route
- Returns
a new route without the R requirement
Utility function to create an http4s middleware that can extracts something from each request and provide a layer to eliminate some part of the ZIO environment
Utility function to create an http4s middleware that can extracts something from each request and provide a layer to eliminate some part of the ZIO environment
- Type Params
- R
the remaining environment
- R1
the environment to eliminate
- Value Params
- f
a function from a request to a ZLayer
- route
an http4s route
- Returns
a new route that requires only R