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