Open ZeroIntensity opened 8 months ago
Maybe this could some with some WSGI hook utility as well? I don't know that much about WSGI, but theoretically it should be possible to convert ASGI objects into their WSGI counterparts. This would be incredibly useful for say, mounting a Django app on top of a view.py app.
Feature description
For compatibility with ASGI toolkits like Starlette, view.py should make it possible to defer the ASGI
scope
,receive
, andsend
. This will allow someone to for example, mount an existing Starlette app against a view.py server, which very much aligns with batteries-detachable.Feature example API
Anything else?
This will be waiting on #82, as prefixing will require path parameters.