Skip to main content

reqwest_proxy_pool/
lib.rs

1//! # reqwest-proxy-pool
2//!
3//! A SOCKS5/SOCKS5H proxy pool middleware for reqwest.
4//!
5//! This library provides a middleware for reqwest that automatically manages a pool of
6//! SOCKS5 proxies, testing their health, and using them for requests with automatic retries.
7
8pub mod classifier;
9pub mod config;
10pub mod error;
11pub mod middleware;
12pub mod pool;
13pub mod proxy;
14mod utils;
15
16pub use classifier::{DefaultResponseClassifier, ProxyResponseVerdict, ResponseClassifier};
17pub use config::{ProxyPoolConfig, ProxyPoolConfigBuilder, ProxySelectionStrategy};
18pub use error::NoProxyAvailable;
19pub use middleware::ProxyPoolMiddleware;
20pub use pool::ProxyPool;
21pub use proxy::{Proxy, ProxyStatus};