Struct hyper_socks_async::Socksv5Connector
[−]
[src]
pub struct Socksv5Connector { /* fields omitted */ }
Methods
impl Socksv5Connector
[src]
fn new(handle: &Handle, proxy_addr: SocketAddr) -> Socksv5Connector
[src]
Trait Implementations
impl Service for Socksv5Connector
[src]
type Request = Uri
Requests handled by the service.
type Response = MaybeHttpsStream<TcpStream>
Responses given by the service.
type Error = Error
Errors produced by the service.
type Future = Box<Future<Item = Self::Response, Error = Self::Error>>
The future response value.
fn call(&self, req: Self::Request) -> Self::Future
[src]
Process the request and return the response asynchronously.