tyrian.http.Request
See theRequest companion class
object Request
Attributes
Members list
Type members
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Convenience method to create a GET Request[A] and try to decode the response body from String to A.
Convenience method to create a GET Request[A] and try to decode the response body from String to A.
Type parameters
- A
-
the type of the successfully decoded response
Value parameters
- url
-
the url
Attributes
- Returns
-
a GET request
Convenience method to create a POST Request[A] and try to decode the response body from String to A.
Convenience method to create a POST Request[A] and try to decode the response body from String to A.
Type parameters
- A
-
the type of the successfully decoded response
Value parameters
- body
-
the body of the POST request
- url
-
the url
Attributes
- Returns
-
a POST request
Concrete fields
In this article