Files
neon/test_runner/stubs/h2/windows.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
447 B
Python

from .exceptions import FlowControlError as FlowControlError
from _typeshed import Incomplete
LARGEST_FLOW_CONTROL_WINDOW: Incomplete
class WindowManager:
max_window_size: Incomplete
current_window_size: Incomplete
def __init__(self, max_window_size: int) -> None: ...
def window_consumed(self, size: int) -> None: ...
def window_opened(self, size: int) -> None: ...
def process_bytes(self, size: int) -> int | None: ...