Name Description Size Coverage
__init__.py h2 ~~ A HTTP/2 implementation. 86 -
config.py h2/config ~~~~~~~~~ Objects for controlling the configuration of the HTTP/2 stack. 7348 -
connection.py h2/connection ~~~~~~~~~~~~~ An implementation of a HTTP/2 connection. 82989 -
errors.py h2/errors ~~~~~~~~~ Global error code registry containing the established HTTP/2 error codes. The current registry is available at: https://tools.ietf.org/html/rfc7540#section-11.4 1543 -
events.py h2/events ~~~~~~~~~ Defines Event types for HTTP/2. Events are returned by the H2 state machine to allow implementations to keep track of events triggered by receiving data. Each time data is provided to the H2 state machine it processes the data and returns a list of Event objects. 21587 -
exceptions.py h2/exceptions ~~~~~~~~~~~~~ Exceptions for the HTTP/2 module. 5334 -
frame_buffer.py h2/frame_buffer ~~~~~~~~~~~~~~~ A data structure that provides a way to iterate over a byte buffer in terms of frames. 6208 -
settings.py h2/settings ~~~~~~~~~~~ This module contains a HTTP/2 settings object. This object provides a simple API for manipulating HTTP/2 settings, keeping track of both the current active state of the settings and the unacknowledged future values of the settings. 11690 -
stream.py h2/stream ~~~~~~~~~ An implementation of a HTTP/2 stream. 54533 -
utilities.py h2/utilities ~~~~~~~~~~~~ Utility functions that do not belong in a separate module. 23246 -
windows.py h2/windows ~~~~~~~~~~ Defines tools for managing HTTP/2 flow control windows. The objects defined in this module are used to automatically manage HTTP/2 flow control windows. Specifically, they keep track of what the size of the window is, how much data has been consumed from that window, and how much data the user has already used. It then implements a basic algorithm that attempts to manage the flow control window without user input, trying to ensure that it does not emit too many WINDOW_UPDATE frames. 5595 -