Crate ppp

source · []
Expand description

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

Modules

Version 1 of the HAProxy protocol (text version).

Version 2 of the HAProxy protocol (binary version).

Enums

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

Traits

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.