ProxyInfo
Index
Properties
hostname
Hostname of your proxy.
optionalignoreTlsErrors
When true, the proxy is likely intercepting HTTPS traffic and is able to view and modify its content.
The built-in HTTP clients and the browser pool disable TLS certificate verification for the session's
requests when this is set.
password
User's password for the proxy.
port
Proxy port.
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: