From 9fa01bac859358e7b4ea9a78e6d1e0518b29948d Mon Sep 17 00:00:00 2001 From: Mateusz Nowak Date: Thu, 6 Jan 2022 09:55:35 +0100 Subject: [PATCH] Expose `WebSocketState` --- fastapi/websockets.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fastapi/websockets.py b/fastapi/websockets.py index bed672acff5f25..55a4ac4a1a9187 100644 --- a/fastapi/websockets.py +++ b/fastapi/websockets.py @@ -1,2 +1,3 @@ from starlette.websockets import WebSocket as WebSocket # noqa from starlette.websockets import WebSocketDisconnect as WebSocketDisconnect # noqa +from starlette.websockets import WebSocketState as WebSocketState # noqa