native_proxy_resolver 0.1.0
native_proxy_resolver: ^0.1.0 copied to clipboard
Resolve the OS proxy per URL, including PAC and WPAD auto-config, and plug it into dart:io HttpClient, package:http and Dio. Android, iOS, macOS, Windows, Linux.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add native_proxy_resolverThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
native_proxy_resolver: ^0.1.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:native_proxy_resolver/native_proxy_resolver.dart';