| Package | Description |
|---|---|
| org.davidmoten.rx2.io |
| Modifier and Type | Method and Description |
|---|---|
Client.Builder |
Client.Builder.basicAuth(String username,
String password)
Sets the Basic Authentication details for all HTTP connections (subscription,
request and cancellation).
|
Client.Builder |
Client.Builder.connectTimeoutMs(int timeoutMs)
Sets the connect timeout in ms for the HTTP connection.
|
static Client.Builder |
Client.get(String url)
Returns a Builder for an over-network
Flowable. |
static Client.Builder |
Client.post(String url)
Returns a Builder for an over-network
Flowable. |
Client.Builder |
Client.Builder.proxy(Proxy proxy)
Sets the proxy for the HTTP connection.
|
Client.Builder |
Client.Builder.proxy(String host,
int port)
Sets the proxy details for the HTTP connection.
|
Client.Builder |
Client.Builder.readTimeoutMs(int timeoutMs)
Sets the read timeout in ms for the HTTP connection.
|
Client.Builder |
Client.Builder.requestHeader(String key,
String value)
Sets a request header for the HTTP connection.
|
Client.Builder |
Client.Builder.requestScheduler(io.reactivex.Scheduler scheduler) |
Client.Builder |
Client.Builder.sslContext(SSLContext sslContext)
Sets the
SSLContext to be used for HTTP connections. |
Client.Builder |
Client.Builder.sslSocketFactory(SSLSocketFactory sslSocketFactory)
Sets the
SSLSocketFactory to be used for HTTPS connections. |
Client.Builder |
Client.Builder.transform(io.reactivex.functions.Consumer<HttpURLConnection> transform)
Sets the actions that should be applied to
HttpURLConnection before
calling HttpURLConnection.getInputStream(). |
Copyright © 2018–2019. All rights reserved.