Files
neon/test_runner/stubs/h2/frame_buffer.pyi
Conrad Ludgate 7000aaaf75 chore: fix h2 stubgen (#10491)
## Problem

## Summary of changes

---------

Co-authored-by: Alexander Bayandin <alexander@neon.tech>
2025-01-24 14:55:48 +00:00

13 lines
454 B
Python

from .exceptions import FrameDataMissingError as FrameDataMissingError, FrameTooLargeError as FrameTooLargeError, ProtocolError as ProtocolError
from hyperframe.frame import Frame
CONTINUATION_BACKLOG: int
class FrameBuffer:
data: bytes
max_frame_size: int
def __init__(self, server: bool = False) -> None: ...
def add_data(self, data: bytes) -> None: ...
def __iter__(self) -> FrameBuffer: ...
def __next__(self) -> Frame: ...