Closed gam-phon closed 7 months ago
Do you just want to be able to use Granian?
If so we have a plugin for that:
https://github.com/cofin/litestar-granian
It will become mainline in our work towards Litestar v3 where we remove the assumption/requirement of uvicorn
@JacobCoffee Thanks for your quick response and sharing the plugin.
Actually I am using this command
granian --interface asgi app:app
I wanted to run it with --interface rsgi
Great it will be available in Litestar v3, then please feel free to close this
Thank you
It's unlikely. ASGI is ingrained quite deep into Litestar, and while we are trying to separate things a bit more, making it protocol agnostic is not a realistic goal at the moment. Because of this, we'd have to resort to adding an RSGI > ASGI translation layer, and I don't think there's anything to be gained from this.
Thank you for your quick response. I really appreciate it.
Summary
Here is the specification
Basic Example
No response
Drawbacks and Impact
No response
Unresolved questions
No response