Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kingtous/proxy_manager
system proxy setter for flutter (win/macos/linux)
https://github.com/kingtous/proxy_manager
dart-library flutter flutter-plugin linux macos proxy system windows
Last synced: 16 days ago
JSON representation
system proxy setter for flutter (win/macos/linux)
- Host: GitHub
- URL: https://github.com/kingtous/proxy_manager
- Owner: Kingtous
- License: gpl-3.0
- Created: 2022-09-10T09:19:57.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-16T09:31:06.000Z (about 2 years ago)
- Last Synced: 2024-12-19T22:05:03.999Z (18 days ago)
- Topics: dart-library, flutter, flutter-plugin, linux, macos, proxy, system, windows
- Language: C++
- Homepage:
- Size: 228 KB
- Stars: 11
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ProxyManager for Flutter
![pub-image](https://img.shields.io/pub/v/proxy_manager.svg)
## Features
- set/clean system proxy settings for all desktop platforms
- windows
- linux(kde/gnome/dde)
- macOS## Example
```dart
// 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);
```