HAProxy PROXY protocol implementations.
Function | proxyEndpoint | Wrap an endpoint with PROXY protocol support, so that the transport's
getHost and getPeer methods reflect the
attributes of the proxied connection rather than the underlying
connection. |
Wrap an endpoint with PROXY protocol support, so that the transport's
getHost
and getPeer
methods reflect the
attributes of the proxied connection rather than the underlying
connection.
Parameters | wrappedEndpoint | The underlying listening endpoint. (type: IStreamServerEndpoint ) |
Returns | a new listening endpoint that speaks the PROXY protocol. (type: IStreamServerEndpoint ) |