Module v1

Source
Expand description

PROXY Protocol v1.

Re-exports§

pub use model::AddressPair;
pub use model::Decoded;

Modules§

model
PROXY Protocol v1 header models

Structs§

Header
The PROXY Protocol v1 header.

Enums§

DecodeError
Errors that can occur while decoding a PROXY Protocol v1 header.

Constants§

MAXIMUM_LENGTH
The maximum length of a PROXY Protocol v1 header, including the magic bytes, protocol, addresses, ports, and the CRLF at the end.