Crate proxy_protocol

Source
Expand description

§The HAProxy PROXY protocol.

This defines a library to serialize and deserialize HAProxy PROXY-protocol headers.

The protocol has been implemented per the specification available here: https://www.haproxy.org/download/2.4/doc/proxy-protocol.txt

Modules§

version1
version2

Enums§

EncodeError
ParseError
ProxyHeader
The PROXY header emitted at most once at the start of a new connection.

Functions§

encode
Encodes a PROXY header from the given header definition.
parse
Parse a PROXY header from the given buffer.