Skip to content

Commit

Permalink
Update server.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanzhi33 authored and aaugustin committed Jul 21, 2024
1 parent ee997c1 commit 1210ee8
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 1210ee8

Please sign in to comment.