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):

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 2020-03-25 17:34:30.