Specifies which proxy to use for SOCKS. @param socksProxy the proxy host, expected format is hostname.com:1234 @return reference to self
(String socksProxy)
| 294 | * @return reference to self |
| 295 | */ |
| 296 | public Proxy setSocksProxy(String socksProxy) { |
| 297 | verifyProxyTypeCompatibility(ProxyType.MANUAL); |
| 298 | this.proxyType = ProxyType.MANUAL; |
| 299 | this.socksProxy = socksProxy; |
| 300 | return this; |
| 301 | } |
| 302 | |
| 303 | /** |
| 304 | * Gets the SOCKS version (4 or 5). |