setProxyOverride method
Sets ProxySettings which will be used by all WebView
s in the app.
URLs that match patterns in the bypass list will not be directed to any proxy.
Instead, the request will be made directly to the origin specified by the URL.
Network connections are not guaranteed to immediately use the new proxy setting; wait for the method to return before loading a page.
Officially Supported Platforms/Implementations:
- Android native WebView (Official API - ProxyController.setProxyOverride)
Implementation
Future<void> setProxyOverride({required ProxySettings settings}) {
throw UnimplementedError(
'setProxyOverride is not implemented on the current platform');
}