| Package | Description |
|---|---|
| okhttp3 |
An HTTP+HTTP/2 client for Android and Java applications.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FakeDns |
| Modifier and Type | Field and Description |
|---|---|
static Dns |
Dns.SYSTEM
A DNS that uses
InetAddress.getAllByName(java.lang.String) to ask the underlying operating system to
lookup IP addresses. |
| Modifier and Type | Method and Description |
|---|---|
Dns |
Address.dns()
Returns the service that will be used to resolve IP addresses for hostnames.
|
Dns |
OkHttpClient.dns() |
| Modifier and Type | Method and Description |
|---|---|
OkHttpClient.Builder |
OkHttpClient.Builder.dns(Dns dns)
Sets the DNS service used to lookup IP addresses for hostnames.
|
| Constructor and Description |
|---|
Address(String uriHost,
int uriPort,
Dns dns,
SocketFactory socketFactory,
SSLSocketFactory sslSocketFactory,
HostnameVerifier hostnameVerifier,
CertificatePinner certificatePinner,
Authenticator proxyAuthenticator,
Proxy proxy,
List<Protocol> protocols,
List<ConnectionSpec> connectionSpecs,
ProxySelector proxySelector) |
Copyright © 2017. All Rights Reserved.