📅  最后修改于: 2022-03-11 15:00:00.359000             🧑  作者: Mango
import asyncio
from hypercorn.config import Config
from hypercorn.asyncio import serve
from module import app
asyncio.run(serve(app, Config()))
#For More on API Usage visit https://pgjones.gitlab.io/hypercorn/how_to_guides/api_usage.html