ProxySettings class
Class that represents the settings used to configure the PlatformProxyController.
Officially Supported Platforms/Implementations:
- Android native WebView (Official API - ProxyConfig)
Constructors
Properties
-
bypassRules
↔ List<
String> -
List of bypass rules.
getter/setter pair
- bypassSimpleHostnames ↔ bool?
-
Hostnames without a period in them (and that are not IP literals) will skip proxy settings and be connected to directly instead. Examples:
"abc"
,"local"
,"some-domain"
.getter/setter pair -
directs
↔ List<
String> -
List of scheme filters.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
proxyRules
↔ List<
ProxyRule> -
List of proxy rules to be used for all URLs. This method can be called multiple times to add multiple rules. Additional rules have decreasing precedence.
getter/setter pair
- removeImplicitRules ↔ bool?
-
By default, certain hostnames implicitly bypass the proxy if they are link-local IPs, or localhost addresses.
For instance hostnames matching any of (non-exhaustive list):
getter/setter pair
- reverseBypassEnabled ↔ bool
-
Reverse the bypass list.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copy(
) → ProxySettings - Returns a copy of ProxySettings.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts instance to a map.
-
toMap(
) → Map< String, dynamic> - Converts instance to a map.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, dynamic> ? map) → ProxySettings? - Gets a possible ProxySettings instance from a Map value.