[][src]Constant proxy_protocol::binary::CONNECTION_PREFIX

pub const CONNECTION_PREFIX: [u8; 12];

The 12 bytes required to notify of being a V2 binary PROXY protocol connection.

Excerpt from the specification:

The binary header format starts with a constant 12 bytes block containing the protocol signature :

\x0D \x0A \x0D \x0A \x00 \x0D \x0A \x51 \x55 \x49 \x54 \x0A