Available on crate features
haproxy and std, or crate features masque and std, or crate features proxy and std, or crate features socks5 and std only.Expand description
rama proxy support
Modules§
- haproxy
haproxy - rama HaProxy support
- masque
masque - MASQUE support for rama: proxying traffic other than TCP through HTTP.
- socks5
socks5 - SOCKS5 support for Rama.
Structs§
- Live
Update ProxyDB proxy - A wrapper around a
TProxyDBwhich can be updated through the only linked writerLiveUpdateProxyDBSetter. - Live
Update ProxyDB Setter proxy - Writer to set a new
ProxyDBin the linkedLiveUpdateProxyDB. - Memory
ProxyDB proxy - A fast in-memory ProxyDatabase that is the default choice for Rama.
- Memory
ProxyDB Insert Error proxy - The error type that can be returned by
MemoryProxyDBwhen some of the proxies could not be inserted due to a proxy that had a duplicate key or was invalid for some other reason. - Memory
ProxyDB Query Error proxy - The error type that can be returned by
MemoryProxyDBwhen no proxy could be returned. - Proxy
proxy - A proxy record returned by a
ProxyDB. - Proxy
Context proxy - The context as relevant to the proxy layer.
- Proxy
CsvRow Reader proxy - A CSV Reader that can be used to create a
Proxydatabase from a CSV file or raw data. - Proxy
CsvRow Reader Error proxy - An error that can occur when reading a Proxy CSV row.
- ProxyDB
Layer proxy - A
Layerwhich wraps an innerServiceto resolve proxy candidates based on the input extensions and publish route-specific proxy metadata. - ProxyDB
Service proxy - A
Servicewhich resolves proxy candidates from the given inputExtensions. - Proxy
Filter proxy - Filter to select a specific kind of proxy.
- Proxy
Filter Username Parser proxy - A parser which parses
ProxyFilters from username labels and adds it to the inputExtensions. - ProxyID
proxy - ID of a proxy selected for a connection attempt.
- String
Filter proxy - A string filter that normalizes the string prior to consumption.
Enums§
- Memory
ProxyDB Insert Error Kind proxy - The kind of error that
MemoryProxyDBInsertErrorrepresents. - Memory
ProxyDB Query Error Kind proxy - The kind of error that
MemoryProxyDBQueryErrorrepresents. - Proxy
CsvRow Reader Error Kind proxy - The kind of error that can occur when reading a Proxy CSV row.
- Proxy
Filter Mode proxy - The modus operandi to decide how to deal with a missing
ProxyFilterin the inputExtensionswhen selecting aProxyfrom theProxyDB.
Constants§
- DEFAULT_
PROXY_ DB_ MAX_ PROXIES proxy - Default maximum number of proxy candidates published for one query.
Traits§
- ProxyDB
proxy - The trait to implement to provide a proxy database to other facilities,
such as connection pools, to provide proxy candidates based on the given
ProxyContextandProxyFilter. - Proxy
Query Predicate proxy - Trait that is used by the
ProxyDBfor providing an optional filter predicate to rule out returned results. - Username
Formatter proxy - Formats Basic-auth proxy usernames, for example to add routing labels used by an upstream proxy router.
Functions§
- proxy_
db_ updater proxy - Create a new
ProxyDBupdater which allows you to have a (typically in-memory)ProxyDBwhich you can update live.