Crate ppp

Source
Expand description

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

Modules§

v1
Version 1 of the HAProxy protocol (text version).
v2
Version 2 of the HAProxy protocol (binary version).

Enums§

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

Traits§

PartialResult
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.