rama::proxy::haproxy::protocol

Module v1

Expand description

Version 1 of the HAProxy protocol (text version).

See https://haproxy.org/download/1.8/doc/proxy-protocol.txt

Structs§

  • A text PROXY protocol header that borrows the input string.
  • The source and destination IPv4 addresses and TCP ports of a header.
  • The source and destination IPv6 addresses and TCP ports of a header.

Enums§

  • The source and destination of a header. Includes IP (v4 or v6) addresses and TCP ports.
  • An error in parsing a text PROXY protocol header that is represented as a byte slice.
  • An error in parsing a text PROXY protocol header.

Constants§

  • The prefix of the PROXY protocol header.
  • The suffix of the PROXY protocol header.
  • The separator of the header parts.
  • TCP protocol with IPv4 address family.
  • TCP protocol with IPv6 address family.
  • Unknown protocol and address family. Address portion of the header should be ignored.