proxyprotocol.typing
¶
- proxyprotocol.typing.SockAddr¶
The types that can be retured by
getsockname()
andgetpeername()
.alias of
None
|str
|Tuple
[str
,int
] |Tuple
[str
,int
,int
,int
]
- proxyprotocol.typing.Address¶
The types that can be returned by address attributes on
ProxyProtocolResult
.alias of
None
|str
|Tuple
[IPv4Address
,int
] |Tuple
[IPv6Address
,int
]
- proxyprotocol.typing.Cipher¶
The type returned by
ssl.SSLSocket.cipher()
.
- proxyprotocol.typing.PeerCert¶
The type returned by
ssl.SSLSocket.getpeercert()
.
- class proxyprotocol.typing.StreamReaderProtocol(*args, **kwargs)[source]¶
A typing abstraction intended to be compatible with
StreamReader
..
- class proxyprotocol.typing.TransportProtocol(*args, **kwargs)[source]¶
A typing abstraction intended to be compatible with both
BaseTransport
andStreamWriter
.