I don't undertstand how i should structure a websocket in FastAPI

后端 未结 0 1809
南旧
南旧 2021-01-31 12:17

So i am starting experimenting with websockets and this is the idea:

@app.websocket("/connect/{client_id}")
async def connect(websocket: WebSocket, clie         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题