Module decode

Source
Expand description

PROXY Protocol v2 header decoder

Structs§

DecodedExtensions
A wrapper around a slice of bytes representing the encoded extensions of the PROXY Protocol v2 header.
DecodedExtensionsIter
Iterator over the extensions of the PROXY Protocol v2 header.
DecodedHeader
A wrapper around the PROXY Protocol v2 header and its extensions.
HeaderDecoder
PROXY Protocol v2 header decoder.

Enums§

DecodeError
Errors that can occur while decoding a PROXY Protocol v2 header.
Decoded
The result of decoding a PROXY Protocol v2 header.