Relative Content

Tag Archive for pythonwebsocketpython-asynciofastapiquart

WebSocket connection closing unexpectedly

To get around the POST request timeout errors, I’ve implemented a websocket variant of my code (below) that would send a task client side and awaits a response from my server side (whether the task has been completed successfully or unsuccessfully)