Skip to content

[Enhancement Request] Asynchronous HTTPServer using asyncioΒ #109

@anecdata

Description

@anecdata

HTTPServer counterpart to: Asynchronous HTTP Requests using asyncio

There has been some work to get asyncio working with sockets: adafruit/circuitpython#7173

That code generally works (and can be expanded to multiple servers and / or multiple clients), but relies on methods asyncio.core._io_queue.queue_read and asyncio.core._io_queue.queue_write in the IOQueue class, which may not map to a CPython object.

The Adafruit asyncio library has a [TCP] Server class, not sure if it is complete or if it is the appropriate level of abstraction for HTTPServer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions