In a WebSocket it doesn't really make sense to raise an HTTPException . So it's better to close the WebSocket connection directly. You can use a closing code ...
確定! 回上一頁