Expand description
Version 2 of the HAProxy protocol (binary version).
Structs§
- Implementation of the builder pattern for PROXY protocol v2 headers. Supports both valid and invalid headers via the
write_payload
andwrite_payloads
functions. - A proxy protocol version 2 header.
- The source and destination IPv4 addresses and TCP ports of a header.
- The source and destination IPv6 addresses and TCP ports of a header.
- A Type-Length-Value payload.
- An
Iterator
ofTypeLengthValue
s stored in a byte slice. - The source and destination addresses of UNIX sockets.
Write
interface for the builder’s internal buffer. Can be used to turn header parts into bytes.
Enums§
- The supported
AddressFamily
for a PROXY protocol header. - The source and destination address information for a given
AddressFamily
. - The supported
Command
s for a PROXY protocol header. - An error in parsing a binary PROXY protocol header.
- The supported
Protocol
s for a PROXY protocol header. - Supported types for
TypeLengthValue
payloads. - The supported
Version
s for binary headers.
Constants§
- The prefix of the PROXY protocol header.
Traits§
- Defines how to write a type as part of a binary PROXY protocol header.