Expand description
HTTP CONNECT and SOCKS5 proxy connectors.
ProxyConnector tunnels TCP connections through an HTTP CONNECT proxy.
Socks5Connector tunnels TCP connections through a SOCKS5 proxy (RFC 1928/1929).
Both implement tower_service::Service<http::Uri> and return a
hyper_util::rt::TokioIo<tokio::net::TcpStream> suitable for use as an
inner connector inside OxiHttpsConnector or directly with a hyper legacy
Client.
Structs§
- Proxy
Connector - A
tower_service::Service<Uri>that connects through an HTTP CONNECT proxy.
Enums§
- Proxy
Kind - Selects the proxy protocol for
ClientBuilder::build_proxy*methods.