Skip to content

Commit

Permalink
Fixed the Using Websockets doc
Browse files Browse the repository at this point in the history
  • Loading branch information
muddi900 authored and pgjones committed Sep 19, 2023
1 parent 7be545c commit d05942e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/how_to_guides/websockets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ type of request (WebSocket upgrade or not). As so,
async def http():
return "A HTTP request"
@app.route("/ws")
@app.websocket("/ws")
async def ws():
... # Use the WebSocket
Expand Down

0 comments on commit d05942e

Please sign in to comment.