Skip to main content

RotationStrategy

Type Alias RotationStrategy 

Source
pub type RotationStrategy = fn(&[Proxy], usize) -> usize;
Expand description

A function that determines the next proxy index given the proxy list and the current index. Implement your own to create custom rotation strategies (e.g., random, weighted, or geo-aware selection).