socksVersion property
int?
get
socksVersion
Returns the SOCKS version if this is a SOCKS protocol
Implementation
int? get socksVersion {
switch (this) {
case ProxyProtocol.socks4:
return 4;
case ProxyProtocol.socks5:
return 5;
default:
return null;
}
}