proxy_manager 0.0.3 copy "proxy_manager: ^0.0.3" to clipboard
proxy_manager: ^0.0.3 copied to clipboard

Proxy Setter for flutter, allow users to set system proxy from dart code directly.

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);
4
likes
140
pub points
84%
popularity

Publisher

verified publisherkingtous.cn

Proxy Setter for flutter, allow users to set system proxy from dart code directly.

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (LICENSE)

Dependencies

flutter, path, plugin_platform_interface

More

Packages that depend on proxy_manager