setSocks5Proxy static method

Future<V2TXLiveCode> setSocks5Proxy(
  1. String host,
  2. int port,
  3. String username,
  4. String password,
  5. V2TXLiveSocks5ProxyConfig config,
)

Implementation

static Future<V2TXLiveCode> setSocks5Proxy(
    String host, int port, String username, String password, V2TXLiveSocks5ProxyConfig config) async {
  LiveLoadDynamicLib.getPluginChannel().invokeMethod('initialize');
  return V2TXLIVE_OK;
}