twisted.web.test.test_http2.FrameBuffer(object)
class documentationtwisted.web.test.test_http2
(View In Hierarchy)
A test object that converts data received from Twisted's HTTP/2 stack and turns it into a sequence of hyperframe frame objects.
This is primarily used to make it easier to write and debug tests: rather than have to serialize the expected frames and then do byte-level comparison (which can be unclear in debugging output), this object makes it possible to work with the frames directly.
It also ensures that headers are properly decompressed.
Method | __init__ | Undocumented |
Method | receiveData | Undocumented |
Method | __iter__ | Undocumented |
Method | next | Undocumented |