Http
Functions for creating Http kleislis.
Attributes
- Source
- Http.scala
- Graph
-
- Supertypes
- Self type
-
Http.type
Members list
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
- F
-
the effect of the Response returned by the Http
- G
Value parameters
- run
-
the function to lift
Attributes
- Returns
-
an Http that suspends
run
. - Source
- Http.scala
Lifts an effectful Response into an Http kleisli.
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
- F
-
the effect of the Response returned by the Http
- G
Value parameters
- f
-
a function to apply to the Request
- fa
-
the Http to transform
Attributes
- Returns
-
An Http whose input is transformed by
f
before being applied tofa
- Source
- Http.scala
Lifts a Response into an Http kleisli.