tyrian.http
Members list
Type members
Classlikes
Send HTTP requests as a command
Send HTTP requests as a command
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- Http.type
An Error will be returned if something goes wrong with an HTTP request.
An Error will be returned if something goes wrong with an HTTP request.
Attributes
- Graph
- Supertypes
- Known subtypes
- case BadRequest
Describes an HTTP request.
Describes an HTTP request.
Attributes
- A
type of the successfully decoded response
- body
the request body (EmptyBody or StringBody(contentType: String, body: String))
- expect
tries to transform a Response[String] to a value of type A
- headers
a list of request headers
- method
GET, POST, PUT, PATCH, DELETE, or OPTIONS
- timeout
duration to wait before giving up.
- url
the url
- withCredentials
indicates if the request is using credentials
- Companion:
- object
- Graph
- Supertypes
Types
Tries to transform an response body or http error into to a value of type Msg.
Tries to transform an response body or http error into to a value of type Msg.
Attributes
- Msg
Message type of the successfully decoded response