hypercorn.asyncio.tcp_server module

class hypercorn.asyncio.tcp_server.EventWrapper

Bases: object

async clear() → None
async set() → None
async wait() → None
class hypercorn.asyncio.tcp_server.TCPServer(app: Union[Type[hypercorn.typing.ASGI2Protocol], Callable[[dict, Callable, Callable], Awaitable[None]]], loop: asyncio.events.AbstractEventLoop, config: hypercorn.config.Config, reader: asyncio.streams.StreamReader, writer: asyncio.streams.StreamWriter)

Bases: object

async protocol_send(event: hypercorn.events.Event) → None
async run() → None