main.wisp.client.NoOpDns.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wisp-client Show documentation
Show all versions of wisp-client Show documentation
HTTP client with config and envoy support, built on okhttp
package wisp.client
import okhttp3.Dns
import java.net.InetAddress
object NoOpDns : Dns {
private val loopback = listOf(InetAddress.getLoopbackAddress())
override fun lookup(hostname: String) = loopback
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy