prepare_for_uri


Description:

[ Version ( deprecated = true , deprecated_since = "2.38" , since = "2.30" ) ]
public void prepare_for_uri (URI uri)

Warning: prepare_for_uri is deprecated since 2.38.

Tells this that uri may be requested shortly, and so the session can try to prepare (resolving the domain name, obtaining proxy address, etc.

Note:

use prefetch_dns instead

) in order to work more quickly once the URI is actually requested.

Parameters:

this

a Session

uri

a URI which may be required