http_proxy 1.2.3 copy "http_proxy: ^1.2.3" to clipboard
http_proxy: ^1.2.3 copied to clipboard

http proxy plugin,get and set http proxy automatically.This package help you to use proxy tools.

http_proxy #

http_proxy get the proxy settings of mobile device automatically,and set up proxy for http.

Getting Started #

You should initialize before runapp().

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  HttpProxy httpProxy = await HttpProxy.createHttpProxy();
  HttpOverrides.global=httpProxy;
  runApp(MyApp());
}

That's all done.You can use Charles or other proxy tools now.

35
likes
150
points
63.1k
downloads

Publisher

unverified uploader

Weekly Downloads

http proxy plugin,get and set http proxy automatically.This package help you to use proxy tools.

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_user_certificates_android, plugin_platform_interface

More

Packages that depend on http_proxy