Crate socks5_protocol[−][src]
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 version.
Structs
AuthRequest
message:
AuthResponse
message:
CommandRequest
message:
CommandResponse
message:
Enums
Address type in socks5.
AuthMethod
is defined in RFC 1928.
Command
type.
Reply to CommandRequest
Library level Error
.
Version conatins one byte. In socks5, it should be 5
, other value will return Error::InvalidVersion
.
Type Definitions
Library level Result
.