Crate ppp

source · []
Expand description

A Proxy Protocol Parser written in Rust. Supports both text and binary versions of the header protocol.


Version 1 of the HAProxy protocol (text version).

Version 2 of the HAProxy protocol (binary version).


An enumeration of the supported header version’s parse results. Useful for parsing either version 1 or version 2 of the PROXY protocol.


The canonical way to determine when a streamed header should be retried in a streaming context. The protocol states that servers may choose to support partial headers or to close the connection if the header is not present all at once.