Crate socks5_protocol

Crate socks5_protocol 

Source
Expand description

§Async tokio protocol

socks5-protocol provides types that can be read from AsyncRead and write to AsyncWrite.

You can create socks5 server or socks5 client using this library.

Modules§

sync
Sync version.

Structs§

AuthRequest
AuthRequest message:
AuthResponse
AuthResponse message:
CommandRequest
CommandRequest message:
CommandResponse
CommandResponse message:

Enums§

Address
Address type in socks5.
AuthMethod
AuthMethod is defined in RFC 1928.
Command
Command type.
CommandReply
Reply to CommandRequest
Error
Library level Error.
Version
Version conatins one byte. In socks5, it should be 5, other value will return Error::InvalidVersion.

Type Aliases§

Result
Library level Result.