Module Expr Str Import alias ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list decorator_list
N/A N/A 
Interfaces used by the PROXY protocol modules.
 N/A zope.interface IProxyInfo N/A N/A N/A zope interface Interface N/A N/A 
    Data container for PROXY protocol header data.
     N/A header N/A N/A N/A zope interface Attribute The raw byestring that represents the PROXY protocol header. N/A source N/A N/A N/A zope interface Attribute An L{twisted.internet.interfaces.IAddress} representing the connection source. N/A destination N/A N/A N/A zope interface Attribute An L{twisted.internet.interfaces.IAddress} representing the connection destination. N/A IProxyParser N/A N/A N/A zope interface Interface N/A N/A 
    Streaming parser that handles PROXY protocol headers.
     feed N/A N/A self data N/A N/A N/A 
        Consume a chunk of data and attempt to parse it.

        @param data: A bytestring.
        @type data: bytes

        @return: A two-tuple containing, in order, an L{IProxyInfo} and any
            bytes fed to the parser that followed the end of the header.  Both
            of these values are None until a complete header is parsed.

        @raises InvalidProxyHeader: If the bytes fed to the parser create an
            invalid PROXY header.
         N/A parse N/A N/A self line N/A N/A N/A 
        Parse a bytestring as a full PROXY protocol header line.

        @param line: A bytestring that represents a valid HAProxy PROXY
            protocol header line.
        @type line: bytes

        @return: An L{IProxyInfo} containing the parsed data.

        @raises InvalidProxyHeader: If the bytestring does not represent a
            valid PROXY header.
         N/A N/A