twisted.protocols.haproxy.__init__
module documentationtwisted.protocols.haproxy
View Source
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. |
Variable | __all__ | Undocumented |
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 ) |