-
Wondering if we do something like Uvicorn?
|
Beta Was this translation helpful? Give feedback.
Answered by
gi0baro
Mar 27, 2024
Replies: 1 comment 1 reply
-
Adapting your snippet: import granian
async def app(scope, receive, send):
...
granian.Granian("main:app", interface="asgi", port=5000, log_level="info").serve() You can check Granian class for further needs. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
DavydLiu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Adapting your snippet:
You can check Granian class for further needs.