async-http-proxy
async-http-proxy
is a lightweight asynchronous HTTP proxy client library, which can be used to
connect a to a TCP port via HTTP Connect proxy. It can use Tokio and
async-std as asynchronous runtime.
Example
The following example shows how to connect to github.com
via Connect proxy (tokio
):
use http_connect_tokio;
use Error;
use TcpStream;
use Url;
// Features "runtime-tokio" and "basic-auth" have to be activated
async
The following example shows how to connect to example.org
with Basic Authentication via Connect
proxy (async-std
):
use http_connect_async_std;
use TcpStream;
use task;
use Error;
use Url;
// Features "async-std-tokio" and "basic-auth" have to be activated
Features
- HTTP
CONNECT
- Basic Auth
- Tokio
- async-std
License
This project is licensed under the BSD-3-Clause license.
Contribution
Any contribution intentionally submitted for inclusion in async_http_proxy
by you, shall be
licensed as BSD-3-Clause, without any additional
terms or conditions.