-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Happy to see Bottle get a version bump. I read through the patch notes and noticed added support for aiohttp and uvloop server adapters. I'm hoping to add a basic websocket implementation to my bottle server (because this project is the best), and I would like to use the right tool for the job.
According to this page of the bottle docs, the suggested solution is to use the gevent-websocket package. The library hasn't been updated in a while and I'm wondering if the solution you'd suggest has changed since the documentation was written. In this Github Issue defnull suggested using an asyncio server.
Given developments to asynchronous python libraries over the last few years, is there a more elegant solution to implementing asynchronous programming than is currently suggested by the documentation?
Also, as a higher level question - how much work would be required to adapt the current Bottle implementation to meet the newly established ASGI standard? Basically, is it within the scope of this project to fulfill that feature set or would it be a new thing entirely?