GitHunt
KI

Kingtous/proxy_manager

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

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);

Languages

C++43.2%CMake30.6%Dart17.8%C3.6%Ruby2.8%Swift2.0%

Contributors

GNU General Public License v3.0
Created September 10, 2022
Updated November 24, 2024
Kingtous/proxy_manager | GitHunt