object Request
- Companion:
- class
Type members
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
- 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
- Returns:
a POST request