socks5_proto/lib.rs
1#![doc = include_str!("../README.md")]
2
3mod address;
4mod command;
5mod error;
6mod reply;
7mod request;
8mod response;
9mod udp;
10
11pub mod handshake;
12
13pub use self::{
14 address::Address,
15 command::Command,
16 error::{Error, ProtocolError},
17 reply::Reply,
18 request::Request,
19 response::Response,
20 udp::UdpHeader,
21};
22
23pub const SOCKS_VERSION: u8 = 0x05;