Skip to main content

Crate scatter_proxy

Crate scatter_proxy 

Source
Expand description

scatter-proxy — async request scheduler for unreliable SOCKS5 proxies.

Multi-path race for maximum throughput.

Structs§

DefaultClassifier
Built-in classifier that covers the common case:
HeaderMap
A specialized multimap for header names and values.
PoolMetrics
Snapshot of the overall proxy-pool and task-pool state.
ProxyHostStats
Per-(proxy, host) statistics snapshot (user-facing / serialisable).
RateLimitConfig
Per-(proxy, host) rate-limiting configuration.
ScatterProxy
The main entry point. Manages proxy pool, scheduling, and background tasks.
ScatterProxyConfig
Main configuration for ScatterProxy.
ScatterProxyRouter
Routes proxied requests to per-host ScatterProxy instances.
ScatterResponse
Response from a successful proxied request.
StatusCode
An HTTP status code (status-code in RFC 9110 et al.).
TaskHandle
Handle returned to the caller when a task is submitted.

Enums§

BodyVerdict
Three-level verdict returned by a BodyClassifier for every HTTP response.
ScatterProxyError
Errors produced by the ScatterProxy scheduler.

Constants§

DEFAULT_PROXY_SOURCES
Default free SOCKS5 proxy sources used when no custom sources are configured. These are fetched from the scatter-proxy Codeberg Pages and popular community lists.

Traits§

BodyClassifier
Trait that inspects a completed HTTP response and returns a BodyVerdict.