NetworkSession.prefetchDns

void prefetchDns(string hostname)

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.

Parameters

hostnamea hostname to be resolved