qproxy 0.2.7

A simple forward proxy server written in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

#[derive(Debug, thiserror::Error)]
pub enum ProxyError {
    #[error("Failed to connect to proxy: {0}")]
    ForwardProxyError(#[from] std::io::Error),
    #[error("Proxy not set or empty")]
    ProxyNotSet,
    #[error("List proxies require >= 2 : {0}")]
    ProxiesTooSmall(u64),
    #[error("Failed to load proxies: {0}")]
    LoadProxiesError(String),
    #[error("Error server: {0}")]
    ServerError(String),
    #[error("Server not found {0}")]
    ServerNotFound(String),
}