Attributes
- Companion:
- object
- Graph
- Supertypes
- trait OkHttpBackendtrait HttpClient[Future]trait Closeabletrait AutoCloseableclass Objecttrait Matchableclass Any
Members list
Type members
Inherited classlikes
Attributes
- Inherited from:
- HttpClient
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Value members
Concrete methods
Attributes
- Definition Classes
Attributes
- Definition Classes
Remember to close the response body if calling this method. If you don't need to stream the response,
call execute
instead.
Remember to close the response body if calling this method. If you don't need to stream the response,
call execute
instead.
Attributes
- request
request to execute
- Returns:
the response
Provides the response but closes the response body after consume
completes.
Provides the response but closes the response body after consume
completes.
Attributes
- T
type of result
- consume
code to consume the response
- request
request
Attributes
- Definition Classes
Inherited methods
Attributes
- Definition Classes
- Inherited from:
- OkHttpBackend
Downloads url
to to
, returning the number of bytes written to to
.
Downloads url
to to
, returning the number of bytes written to to
.
Attributes
- headers
http headers
- to
destination, a file
- url
url to download
- Returns:
bytes written
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Parses the response as a T.
Parses the response as a T.
The returned Future fails with a ResponseError if parsing fails.
Attributes
- T
type to parse
- response
HTTP response
- url
the request URL
- Returns:
a parsed response
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient
Attributes
- Inherited from:
- HttpClient