Http4sAdapter
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Http4sAdapter.type
Members list
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.
Attributes
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.
Attributes
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 parameters
- R
-
the environment type to eliminate
Value parameters
- f
-
a function from a request to a ZLayer
- route
-
an http4s route
Attributes
- 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 parameters
- R
-
the remaining environment
- R1
-
the environment to eliminate
Value parameters
- f
-
a function from a request to a ZLayer
- route
-
an http4s route
Attributes
- Returns
-
a new route that requires only R