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.
def proxyEndpoint(wrappedEndpoint): (source)

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.

ParameterswrappedEndpointThe underlying listening endpoint. (type: IStreamServerEndpoint)
Returnsa new listening endpoint that speaks the PROXY protocol. (type: IStreamServerEndpoint)
API Documentation for Twisted, generated by pydoctor at 2018-07-14 04:53:34.