Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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)

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