Skip to content

ASGIProtocol

fastagency.base.ASGIProtocol #

Bases: Protocol

handle_asgi async #

handle_asgi(
    app: Runnable,
    scope: dict[str, Any],
    receive: Callable[[dict[str, Any]], Awaitable[None]],
    send: Callable[[dict[str, Any]], Awaitable[None]],
) -> None
Source code in fastagency/base.py
async def handle_asgi(
    self,
    app: "Runnable",
    scope: dict[str, Any],
    receive: Callable[[dict[str, Any]], Awaitable[None]],
    send: Callable[[dict[str, Any]], Awaitable[None]],
) -> None: ...