OXIESEC PANEL
- Current Dir:
/
/
usr
/
lib
/
python3
/
dist-packages
/
twisted
/
protocols
/
haproxy
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/31/2022 06:22:38 AM
rwxr-xr-x
📄
__init__.py
251 bytes
09/08/2017 10:38:35 AM
rw-r--r--
📁
__pycache__
-
03/31/2022 06:22:39 AM
rwxr-xr-x
📄
_exceptions.py
1.06 KB
09/08/2017 10:38:35 AM
rw-r--r--
📄
_info.py
929 bytes
09/08/2017 10:38:35 AM
rw-r--r--
📄
_interfaces.py
1.75 KB
09/08/2017 10:38:35 AM
rw-r--r--
📄
_parser.py
2 KB
09/08/2017 10:38:35 AM
rw-r--r--
📄
_v1parser.py
4.22 KB
09/08/2017 10:38:35 AM
rw-r--r--
📄
_v2parser.py
6.16 KB
09/08/2017 10:38:35 AM
rw-r--r--
📄
_wrapper.py
3.25 KB
09/08/2017 10:38:35 AM
rw-r--r--
📁
test
-
03/31/2022 06:22:38 AM
rwxr-xr-x
Editing: _info.py
Close
# -*- test-case-name: twisted.protocols.haproxy.test -*- # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ IProxyInfo implementation. """ from zope.interface import implementer from ._interfaces import IProxyInfo @implementer(IProxyInfo) class ProxyInfo(object): """ A data container for parsed PROXY protocol information. @ivar header: The raw header bytes extracted from the connection. @type header: bytes @ivar source: The connection source address. @type source: L{twisted.internet.interfaces.IAddress} @ivar destination: The connection destination address. @type destination: L{twisted.internet.interfaces.IAddress} """ __slots__ = ( 'header', 'source', 'destination', ) def __init__(self, header, source, destination): self.header = header self.source = source self.destination = destination