Skip to content

system proxy setter for flutter (win/macos/linux)

License

Notifications You must be signed in to change notification settings

ZaneCode6574/proxy_manager

 
 

Repository files navigation

ProxyManager for Flutter

pub-image

Features

  • set/clean system proxy settings for all desktop platforms
    • windows
    • linux(kde/gnome/dde)
    • macOS

Example

// single instance
ProxyManager manager = ProxyManager();
// set a http proxy
await manager.setAsSystemProxy(ProxyTypes.http, "127.0.0.1", 1087);
// set a https proxy
await manager.setAsSystemProxy(ProxyTypes.https, "127.0.0.1", 1087);
// set a socks4/5 proxy
await manager.setAsSystemProxy(ProxyTypes.socks, "127.0.0.1", 1080);

About

system proxy setter for flutter (win/macos/linux)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 43.2%
  • CMake 30.6%
  • Dart 17.8%
  • C 3.6%
  • Ruby 2.8%
  • Swift 2.0%