diff --git a/sanic/websocket.py b/sanic/websocket.py index 37b13f3c..bc78c76f 100644 --- a/sanic/websocket.py +++ b/sanic/websocket.py @@ -90,4 +90,5 @@ class WebSocketProtocol(HttpProtocol): ) self.websocket.subprotocol = subprotocol self.websocket.connection_made(request.transport) + self.websocket.connection_open() return self.websocket