Expand description
§Proxied
Asynchronous proxy TCP connector
Includes:
- No
unsafe
code - SOCKS4/5 and HTTP(s) proxies support
- Single structure for both types of proxies
TCPStream
-like connection (seeTCPConnection
)- Password authentication
§How-to
Main entrypoint is Proxy
structure.
It contains connection data about proxy like protocol, address port and credentials.
Additionally it supports IP refreshment link, although user is expected to manually request it.
To create a TCP connection, call Proxy::connect_tcp
. After it is created, it can be used
just like regural TCP stream, as it implements AsyncRead
and AsyncWrite
.
Modules§
Structs§
- Proxy
- Proxy connection data
- TCPConnection
- TCP Tunnel through proxy server
Enums§
- Connect
Error - Network
Target - Target for proxy for connection, in form of DNS name or socket’s IP Address
- Proxy
Kind - Proxy protocol