Specifies which version of SOCKS to use (4 or 5). @param socksVersion SOCKS version, 4 or 5 @return reference to self
(Integer socksVersion)
| 316 | * @return reference to self |
| 317 | */ |
| 318 | public Proxy setSocksVersion(Integer socksVersion) { |
| 319 | verifyProxyTypeCompatibility(ProxyType.MANUAL); |
| 320 | this.proxyType = ProxyType.MANUAL; |
| 321 | this.socksVersion = socksVersion; |
| 322 | return this; |
| 323 | } |
| 324 | |
| 325 | /** |
| 326 | * Gets the SOCKS proxy's username. Supported by SOCKS v5 and above. |