Classes
_ZoomiesConnection
7
▼
Per-client QUIC + H3 connection state.
_ZoomiesConnection
7
▼
Per-client QUIC + H3 connection state.
Attributes
| Name | Type | Description |
|---|---|---|
quic |
Any
|
— |
h3 |
Any
|
— |
last_activity |
float
|
— |
last_addr |
tuple[str, int]
|
— |
stream_tasks |
dict[int, tuple[asyncio.Task[None], asyncio.Queue[dict[str, Any]]]]
|
— |
stream_body_bytes |
dict[int, int]
|
— |
stream_body_ended |
set[int]
|
— |
Functions
_create_zoomies_datagram_protocol
5
type
▼
Factory that returns a ZoomiesDatagramProtocol class bound to app/config/logger…
_create_zoomies_datagram_protocol
5
type
▼
def _create_zoomies_datagram_protocol(app: ASGIApp, config: ServerConfig, logger: logging.Logger, server: tuple[str, int], quic_config: Any) -> type
Factory that returns a ZoomiesDatagramProtocol class bound to app/config/logger/server.
Parameters
| Name | Type | Description |
|---|---|---|
app |
ASGIApp |
|
config |
ServerConfig |
|
logger |
logging.Logger |
|
server |
tuple[str, int] |
|
quic_config |
Any |
Returns
type
create_zoomies_datagram_protocol_factory
5
Callable[[], asyncio.Dat…
▼
Create a factory for ZoomiesDatagramProtocol.
Returns a no-arg callable suitab…
create_zoomies_datagram_protocol_factory
5
Callable[[], asyncio.Dat…
▼
def create_zoomies_datagram_protocol_factory(app: ASGIApp, config: ServerConfig, logger: logging.Logger, server: tuple[str, int], quic_config: Any) -> Callable[[], asyncio.DatagramProtocol]
Create a factory for ZoomiesDatagramProtocol.
Returns a no-arg callable suitable for create_datagram_endpoint().
Parameters
| Name | Type | Description |
|---|---|---|
app |
ASGIApp |
|
config |
ServerConfig |
|
logger |
logging.Logger |
|
server |
tuple[str, int] |
|
quic_config |
Any |
Returns
Callable[[], asyncio.DatagramProtocol]