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.
0.1.0 #
- Initial release.
SystemProxy.resolve(Uri)/resolveDetailed— per-URL proxy resolution through the OS: CFNetwork with PAC execution (iOS, macOS),ProxySelector+ConnectivityManager.getDefaultProxyincl. the system PAC proxy (Android), WinHTTP with WPAD and PAC (Windows), environment variables + GNOMEgsettings(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()fordart:io.package:native_proxy_resolver/http.dart—createSystemProxyHttpClient()forpackage:http; Dio adapter shown in the example.ProxyBypassRules(no_proxy and wildcard styles),ProxyListParser,EnvironmentProxyConfig.
