def read_http(self, length):
        """Read Hypertext Transfer Protocol version 2.

        Structure of HTTP/2 packet [RFC 7230]:
            +-----------------------------------------------+
            |                 Length (24)                   |
            +---------------+---------------+---------------+
            |   Type (8)    |   Flags (8)   |
            +-+-------------+---------------+-------------------------------+
            |R|                 Stream Identifier (31)                      |
            +=+=============================================================+
            |                   Frame Payload (0...)                      ...
            +---------------------------------------------------------------+

        """
        _plen = self._read_binary(3)
        _type = self._read_unpack(1)
        _flag = self._read_binary(1)
        _stid = self._read_binary(4)
def read_http ( self , length ) : _plen = self . _read_binary ( 3 ) _type = self . _read_unpack ( 1 ) _flag = self . _read_binary ( 1 ) _stid = self . _read_binary ( 4 )
Read Hypertext Transfer Protocol version 2.

        Structure of HTTP/2 packet [RFC 7230]:
            +-----------------------------------------------+
            |                 Length (24)                   |
            +---------------+---------------+---------------+
            |   Type (8)    |   Flags (8)   |
            +-+-------------+---------------+-------------------------------+
            |R|                 Stream Identifier (31)                      |
            +=+=============================================================+
            |                   Frame Payload (0...)                      ...
            +---------------------------------------------------------------+