ace v0.13.1 Ace.HTTP2.Frame View Source

Basic protocol unit of HTTP/2.

All frames begin with a fixed 9-octet header followed by a variable- length payload.

+-----------------------------------------------+
|                 Length (24)                   |
+---------------+---------------+---------------+
|   Type (8)    |   Flags (8)   |
+-+-------------+---------------+-------------------------------+
|R|                 Stream Identifier (31)                      |
+=+=============================================================+
|                   Frame Payload (0...)                      ...
+---------------------------------------------------------------+

Link to this section Summary

Functions

Add padding to a frames data

Read the next available frame

Remove the padding from the payload of a frame

Transform HTTP2 frame to binary that can be transmitted over connection

Link to this section Functions

Link to this function pad_data(data, optional_pad_length) View Source

Add padding to a frames data

Link to this function parse_from_buffer(buffer, list) View Source

Read the next available frame.

Remove the padding from the payload of a frame

Transform HTTP2 frame to binary that can be transmitted over connection