NetworkSession.prefetchDns

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.

class NetworkSession
void
prefetchDns
(
string hostname
)

Parameters

hostname string

a hostname to be resolved