getCurrentProxyServerFromPool
ProxyServer session.getCurrentProxyServerFromPool ( )
Description
Get the current proxy server from the proxy server pool.
Parameters
This method does not receive any parameters.
Return Values
Returns the current proxy server being used.
Change Log
Version | Description |
---|---|
4.5 | Available for all editions. |
Examples
Write Proxy Server Description to Log
// Get Proxy Server
proxyServer = session.getCurrentProxyServerFromPool();
// Log Server Description
session.log( "Proxy Server: " + proxyServer.getDescription() );
proxyServer = session.getCurrentProxyServerFromPool();
// Log Server Description
session.log( "Proxy Server: " + proxyServer.getDescription() );
scraper on 07/16/2010 at 5:21 pm
- Printer-friendly version
- Login or register to post comments