ProxyRule class
Class that holds a scheme filter and a proxy URL.
Constructors
Properties
- allowFailover ↔ bool?
-
A Boolean that indicates whether or not a proxy configuration allows failover to non-proxied connections.
Failover isn’t allowed by default.
getter/setter pair
-
excludedDomains
↔ List<
String> ? -
Define an array of domains to determine which hosts should not use the proxy.
If the array is empty, no domains are excluded.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
matchDomains
↔ List<
String> ? -
Define an array of domains to determine which hosts should use the proxy. If the array is empty,
all domains are allowed to use the proxy other than domains listed in excludedDomains.
getter/setter pair
- password ↔ String?
-
Sets a password to use as authentication for a proxy configuration.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schemeFilter ↔ ProxySchemeFilter?
-
Represents the scheme filter.
getter/setter pair
- url ↔ String
-
Represents the proxy URL.
getter/setter pair
- username ↔ String?
-
Sets a username to use as authentication for a proxy configuration.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts instance to a map.
-
toMap(
{EnumMethod? enumMethod}) → 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