Crate async_socks5

Source
Expand description

An async/.await SOCKS5 implementation.

Structs§

Auth
Required for a username + password authentication.
SocksDatagram
A UDP socket that sends packets through a proxy.
SocksListener
A listener that accepts TCP connections through a proxy.

Enums§

AddrKind
Either SocketAddr or a domain and a port.
AuthMethod
A proxy authentication method.
Error
The library’s error type.
StringKind
Required to mark which string is too long. See Error::TooLongString.
UnsuccessfulReply
An unsuccessful reply from a proxy server.

Functions§

connect
Proxifies a TCP connection. Performs the CONNECT command under the hood.

Type Aliases§

Result
The library’s Result type alias.