[−][src]Crate ppp
A Proxy Protocol Parser written in Rust using nom.
Modules
error | The error type used by the parsers. |
model | Types representing both text and binary versions of HAProxy's proxy protocol header. |
Functions
parse_header | A parser that can handle both version 1 and version 2 of the proxy protocol header. |
parse_v1_header | Parses a version 1 header of HAProxy's proxy protocol. |
parse_v2_header | Parse the first 16 bytes of the protocol header; the only required payload. The 12 byte signature and 4 bytes used to describe the connection and header information. |