class DnsOverHttps : Dns
DNS over HTTPS implementation[doh_spec].
Warning: This is a non-final API.
As of OkHttp 3.14, this feature is an unstable preview: the API is subject to change, and the implementation is incomplete. We expect that OkHttp 4.0 or 4.1 will finalize this API. Until then, expect API and behavior changes when you update your OkHttp dependency.**
class Builder |
fun client(): OkHttpClient |
|
fun includeIPv6(): Boolean |
|
fun lookup(hostname: String): List<InetAddress> |
|
fun post(): Boolean |
|
fun resolvePrivateAddresses(): Boolean |
|
fun resolvePublicAddresses(): Boolean |
|
fun url(): HttpUrl |
val DNS_MESSAGE: MediaType |
|
const val MAX_RESPONSE_SIZE: Int |