Skip to content

Commit

Permalink
Update server.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanzhi33 committed Feb 28, 2024
1 parent 3d191ce commit 88cc834
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/faq/server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,8 @@ Here's how to adapt the example just above::

server = await websockets.serve(echo, "localhost", 8765)
await stop
await server.close(close_connections=False)
server.close(close_connections=False)
await server.wait_closed()

How do I implement a health check?
----------------------------------
Expand Down

0 comments on commit 88cc834

Please sign in to comment.