prefetchDns

fun prefetchDns(hostname: String)

Resolve the domain name of the given @hostname in advance, so that if a URI of @hostname is requested the load will be performed more quickly.

Since

2.40

Parameters

hostname

a hostname to be resolved