ProxySettings class sealed
Constructors
-
ProxySettings.list(List<
CustomProxy> proxies) -
Use a list of custom proxies.
constfactory
- ProxySettings.noProxy()
-
Disables any proxy settings including system settings.
constfactory
- ProxySettings.proxy(String url)
-
Use a single proxy for all requests.
Example:
ProxySettings.proxy('http://localhost:8080')
constfactory - ProxySettings.static({required String url, required ProxyCondition condition})
-
Use a single static proxy for specific requests.
constfactory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited