setRotationStrategy method

void setRotationStrategy(
  1. RotationStrategyType strategyType
)

Sets the proxy rotation strategy

strategyType is the type of rotation strategy to use

Implementation

void setRotationStrategy(RotationStrategyType strategyType) {
  _rotationStrategy = RotationStrategyFactory.createStrategy(
    type: strategyType,
    proxies: _validatedProxies,
  );
}