proxyprotocol.server¶
- class proxyprotocol.server.Address(addr, *, server=False)[source]¶
Parses an address on the command-line. Valid examples include:
HOSTHOST:PORTHOST:PORT?pp=v1ssl://HOST:PORT(outbound addresses only)ssl://HOST:PORT?cert=/path/to/cert.pemssl://HOST:PORT?cert=cert.pem&key=privkey.pem&verify=CERT_REQUIRED
- Parameters:
- property pp: ProxyProtocol¶
The PROXY protocol implementation.
- property ssl: SSLContext | None¶
The
SSLContextto use on the address.