QUIC Protocol Implementation 1.0
A Python implementation of the QUIC (Quick UDP Internet Connections) protocol.
|
Public Member Functions | |
bytes | encode (self) |
decode (cls, bytes frame) | |
Static Public Attributes | |
int | stream_id |
@brief Abstract base class for stream frames. @details Defines the interface for stream frame classes.
frame.StreamFrameABC.decode | ( | cls, | |
bytes | frame | ||
) |
@brief Decode bytes into a frame object. @param frame The encoded frame as bytes. @return A new frame instance with the decoded values.
Reimplemented in frame.FrameStream.
bytes frame.StreamFrameABC.encode | ( | self | ) |
@brief Encode the frame into bytes. @return The encoded frame as bytes.
Reimplemented in frame.FrameStream.
|
static |
Definition at line 22 of file frame.py.
Referenced by frame.FrameStream.encode(), test_frame.TestFrameStream.test_all_combinations(), test_frame.TestFrameStream.test_encode_decode(), test_frame.TestFrameStream.test_encode_decode_with_fin(), test_frame.TestFrameStream.test_end_of_attrs_no_offset_no_length(), test_stream.TestStreamSender.test_generate_stream_frames(), test_frame.TestFrameStream.test_init(), test_frame.TestFrameStream.test_zero_length(), and test_frame.TestFrameStream.test_zero_offset().