Http
object Http
Send HTTP requests as a command
Value members
Concrete methods
@SuppressWarnings(scala.Array.apply[java.lang.String]("scalafix:DisableSyntax.null")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
Send an HTTP request.
Send an HTTP request.
- Type parameters:
- A
type of the successfully decoded response
- F
Effect type, e.g.
IO
- Msg
a tyrian Msg
- Value parameters:
- request
the request
- resultToMessage
transforms a successful or failed response into a Msg
- Returns:
A Cmd that describes the HTTP request