hyper-socks-async
Implements currently only socks V5 client with IPv4 but works with the current async hyper.
Doesn't support authentication or IPv6. Make an issue if you would need it..
Installation
# Cargo.toml
[]
= "0.1.0"
Usage
Just configure hyper::Client
with Socksv5Connector
. Connector uses native-tls if url scheme is https.
Example below assumes you're running socks v5 compatible server on 127.0.0.1:9150. You can also run this example with cargo run --example client
after cloning the project.
extern crate futures;
extern crate hyper;
extern crate hyper_socks_async;
extern crate tokio_core;
use Future;
use Stream;
use Client;
use Socksv5Connector;
use ;