setSocks5Proxy static method
Future<V2TXLiveCode>
setSocks5Proxy(
- String host,
- int port,
- String username,
- String password,
- V2TXLiveSocks5ProxyConfig config,
Set up the SDK socks5 proxy configuration
Parameter:
host
The address of the SOCKS5 proxy server
port
The port of the SOCKS5 proxy server
username
The username of the SOCKS5 proxy server
password
The password of the SOCKS5 proxy server
config
For details, please refer to V2TXLiveSocks5ProxyConfig
Implementation
static Future<V2TXLiveCode> setSocks5Proxy(
String host, int port, String username, String password, V2TXLiveSocks5ProxyConfig config) async {
return V2TXLivePremierImpl.setSocks5Proxy(host, port, username, password, config);
}