Specifies which version of SOCKS to use (4 or 5). @param socksVersion SOCKS version, 4 or 5 @return reference to self
(Integer socksVersion)
| 348 | * @return reference to self |
| 349 | */ |
| 350 | public Proxy setSocksVersion(Integer socksVersion) { |
| 351 | verifyProxyTypeCompatibility(ProxyType.MANUAL); |
| 352 | this.proxyType = ProxyType.MANUAL; |
| 353 | this.socksVersion = socksVersion; |
| 354 | return this; |
| 355 | } |
| 356 | |
| 357 | /** |
| 358 | * Gets the SOCKS proxy's username. Supported by SOCKS v5 and above. |