ProxyRotationStrategy class abstract
Abstract class for proxy rotation strategies
Constructors
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
-
getNextProxy(
) → Proxy? - Gets the next proxy from the internal list
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
recordFailure(
Proxy proxy) → void - Records a failed request with a proxy
-
recordSuccess(
Proxy proxy) → void - Records a successful request with a proxy
-
selectProxy(
List< Proxy> proxies) → Proxy - Selects the next proxy from the given list
-
toString(
) → String -
A string representation of this object.
inherited
-
updateProxies(
List< Proxy> proxies) → void - Updates the internal list of proxies
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited