- 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:
- decoder
tries to transform the body into some value of type A
- url
the url
- Returns:
a GET request
Convenience method to create a GET Request[A] and interpret the response body as String.
Convenience method to create a GET Request[A] and interpret the response body as String.
- 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
- decoder
tries to transform the body into some value of type A
- url
the url
- Returns:
a POST request
Convenience method to create a POST Request[A] and interpret the response body as String.
Convenience method to create a POST Request[A] and interpret the response body as String.
- Type parameters:
- A
the type of the successfully decoded response
- Value parameters:
- body
the body of the POST request
- decoder
tries to transform the body into some value of type A
- url
the url
- Returns:
a POST request