📌  相关文章
📜  uvicorn 以编程方式 - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:16.108000             🧑  作者: Mango

代码示例1
import uvicorn

async def app(scope, receive, send):
    ...

if __name__ == "__main__":
    uvicorn.run("example:app", host="127.0.0.1", port=5000, log_level="info")