ProxyInfo
Index
Properties
hostname
Hostname of your proxy.
password
User's password for the proxy.
port
Proxy port.
optionalproxyTier
Proxy tier for the current proxy, if applicable (only for tieredProxyUrls
).
optionalsessionId
The identifier of used Session, if used.
url
The URL of the proxy.
optionalusername
Username for the proxy.
The main purpose of the ProxyInfo object is to provide information about the current proxy connection used by the crawler for the request. Outside of crawlers, you can get this object by calling ProxyConfiguration.newProxyInfo.
Example usage: