Expand description
A synchronous client for Litport’s verified free-proxy snapshots.
Free proxies are for testing only. Do not send credentials, personal data, cookies, or payment data through them. Browse the list at https://litport.net/free-proxy; API documentation is available at https://litport.net/docs/free-proxy-api.
Structs§
- Client
- Synchronous Litport free-proxy client.
- Client
Builder - Builder for a
Client. - Filters
- Validated filtering options.
checked_within_mindefaults to 30 when unset. - Proxy
- A normalized proxy record.
- Reqwest
Transport - The default HTTPS transport, implemented with
reqwestand rustls. - Rotation
- Iterator returned by
Client::rotate. - System
Clock - The normal UTC system clock.
- Transport
Response - The response returned by a
Transport. Header names are case-insensitive.
Enums§
- Error
- Snapshot-client errors.
- Protocol
- A proxy protocol accepted by the snapshot contract.
- Source
- A proxy source.
Constants§
- DEFAULT_
API_ URL - Default API snapshot URL.
- DEFAULT_
GITHUB_ URL - Optional GitHub dataset URL.
Traits§
- Clock
- Source of time for freshness checks and cache expiry.
- Transport
- Synchronous HTTP adapter used by
Client.
Functions§
- to_
proxy_ url - Formats a proxy record as
protocol://ip:port.
Type Aliases§
- Result
- Convenient result alias for this crate.