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§
- Auth
Request AuthRequestmessage:- Auth
Response AuthResponsemessage:- Command
Request CommandRequestmessage:- Command
Response CommandResponsemessage:
Enums§
- Address
- Address type in socks5.
- Auth
Method AuthMethodis defined in RFC 1928.- Command
Commandtype.- Command
Reply - Reply to
CommandRequest - Error
- Library level
Error. - Version
- Version conatins one byte. In socks5, it should be
5, other value will returnError::InvalidVersion.
Type Aliases§
- Result
- Library level
Result.