Http
tyrian.http.Http
object Http
Send HTTP requests as a command
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Http.type
Members list
Type members
Classlikes
case object NetworkErrorException extends Throwable
Attributes
- Supertypes
- Self type
case object TimeoutException extends Throwable
Attributes
- Supertypes
- Self type
-
TimeoutException.type
case class UnknownErrorException(message: String) extends Throwable
Value members
Concrete methods
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
Attributes
- Returns
-
A Cmd that describes the HTTP request
In this article