diff --git a/docs/sanic/websocket.rst b/docs/sanic/websocket.rst index 899d4ffb..8b813bf8 100644 --- a/docs/sanic/websocket.rst +++ b/docs/sanic/websocket.rst @@ -28,6 +28,7 @@ Alternatively, the ``app.add_websocket_route`` method can be used instead of the decorator: .. code:: python + async def feed(request, ws): pass