[−][src]Constant proxy_protocol::version1::CONNECTION_PREFIX
pub const CONNECTION_PREFIX: [u8; 6];
The 6 bytes required to notify of being a V1 binary PROXY protocol connection.
Excerpt from the specification:
This is the format specified in version 1 of the protocol. It consists in one line of US-ASCII text matching exactly the following block, sent immediately and at once upon the connection establishment and prepended before any data flowing from the sender to the receiver :
a string identifying the protocol : "PROXY" ( \x50 \x52 \x4F \x58 \x59 ) Seeing this string indicates that this is version 1 of the protocol.
exactly one space : " " ( \x20 )