spidr_proxy 1.0.1
spidr_proxy: ^1.0.1 copied to clipboard
Proxy management and rotation configurations supporting SOCKS5, HTTP, and HTTPS protocols.
import 'package:spidr_proxy/spidr_proxy.dart';
void main() async {
final pool = BasicProxyPool();
await pool.add(const ProxyInfo(host: 'proxy1.example.com', port: 3128));
await pool.add(const ProxyInfo(host: 'proxy2.example.com', port: 3128));
final proxy = await pool.next();
print('Selected rotating proxy from pool: $proxy');
}