Struct hyper_socks::Socks4HttpConnector
[−]
[src]
pub struct Socks4HttpConnector {
// some fields omitted
}A connector that will produce proxied HttpStreams.
Methods
impl Socks4HttpConnector
fn new<T: ToSocketAddrs>(proxy: T, userid: &str) -> Result<Socks4HttpConnector>
Creates a new Socks4HttpConnector which will connect to the specified
proxy with the specified userid.