native_proxy_resolver 0.1.0 copy "native_proxy_resolver: ^0.1.0" to clipboard
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.

0.1.0 #

  • Initial release.
  • SystemProxy.resolve(Uri) / resolveDetailed — per-URL proxy resolution through the OS: CFNetwork with PAC execution (iOS, macOS), ProxySelector + ConnectivityManager.getDefaultProxy incl. the system PAC proxy (Android), WinHTTP with WPAD and PAC (Windows), environment variables + GNOME gsettings (Linux, no PAC evaluation).
  • Origin-keyed TTL cache with LRU bound, request de-duplication and invalidation on network / proxy change events (Android, iOS, macOS, GNOME).
  • ProxyAwareHttpClient, SystemProxyHttpOverrides, SystemProxy.installHttpOverrides() for dart:io.
  • package:native_proxy_resolver/http.dartcreateSystemProxyHttpClient() for package:http; Dio adapter shown in the example.
  • ProxyBypassRules (no_proxy and wildcard styles), ProxyListParser, EnvironmentProxyConfig.
0
likes
160
points
0
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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.

Repository (GitHub)
View/report issues

Topics

#proxy #network #http #pac #enterprise

License

MIT (license)

Dependencies

flutter, http, meta, plugin_platform_interface

More

Packages that depend on native_proxy_resolver

Packages that implement native_proxy_resolver