getUseProxyFromPool
boolean session.getUseProxyFromPool ( )
Description
Determine whether proxies are being used from proxy pool.
Parameters
This method does not receive any parameters.
Return Values
Returns true if a proxy pool is being used; otherwise, it returns false.
Change Log
Version | Description |
---|---|
4.5 | Available for all editions. |
Examples
Turn On Proxy Pool Usage If Not Running
// Are proxies being used from a pool
if ( !session.getUseProxyFromPool() )
{
session.setUseProxyFromPool( true );
}
if ( !session.getUseProxyFromPool() )
{
session.setUseProxyFromPool( true );
}
See Also
- setUseProxyFromPool() [session] - Sets whether a proxy from the proxy pool should be used when making a request
scraper on 07/16/2010 at 5:21 pm
- Printer-friendly version
- Login or register to post comments