Http
Functions for creating Http kleislis.
- Source:
- Http.scala
Value members
Concrete methods
Lifts a function into an Http kleisli. The application of
run
is suspended in F
to permit more efficient combination
of routes via SemigroupK
.
Lifts a function into an Http kleisli. The application of
run
is suspended in F
to permit more efficient combination
of routes via SemigroupK
.
- Type parameters:
- Value parameters:
- run
the function to lift
- Returns:
an Http that suspends
run
.- Source:
- Http.scala
Transforms an Http on its input. The application of the
transformed function is suspended in F
to permit more
efficient combination of routes via SemigroupK
.
Transforms an Http on its input. The application of the
transformed function is suspended in F
to permit more
efficient combination of routes via SemigroupK
.
- Type parameters:
- Value parameters:
- f
a function to apply to the Request
- fa
the Http to transform
- Returns:
An Http whose input is transformed by
f
before being applied tofa
- Source:
- Http.scala