Skip to main content

Crate reqwest_proxy_pool

Crate reqwest_proxy_pool 

Source
Expand description

§reqwest-proxy-pool

A SOCKS5/SOCKS5H proxy pool middleware for reqwest.

This library provides host-based SOCKS5 proxy pools for reqwest middleware:

  • one HostConfig defines one host-specific proxy pool
  • requests are routed by host
  • unknown hosts fall back to the unique primary=true host pool

Re-exports§

pub use classifier::DefaultResponseClassifier;
pub use classifier::ProxyResponseVerdict;
pub use classifier::ResponseClassifier;
pub use config::HostConfig;
pub use config::HostConfigBuilder;
pub use config::ProxyPoolConfig;
pub use config::ProxyPoolConfigBuilder;
pub use config::ProxySelectionStrategy;
pub use config::RetryStrategy;
pub use error::NoProxyAvailable;
pub use middleware::ProxyPoolMiddleware;
pub use pool::ProxyPool;
pub use proxy::Proxy;
pub use proxy::ProxyStatus;

Modules§

classifier
Response classification for proxy health feedback.
config
Configuration for the proxy pool.
error
Error types for the reqwest-proxy-pool crate.
middleware
Middleware implementation for reqwest.
pool
Core proxy pool implementation.
proxy
Proxy representation and status.