File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ class WebSocketClientProtocol(WebSocketCommonProtocol):
60
60
:class:`WebSocketClientProtocol` provides :meth:`recv` and :meth:`send`
61
61
coroutines for receiving and sending messages.
62
62
63
- It supports asynchronous iteration to receive incoming messages::
63
+ It supports asynchronous iteration to receive messages::
64
64
65
65
async for message in websocket:
66
66
await process(message)
Original file line number Diff line number Diff line change @@ -649,9 +649,7 @@ class WebSocketServer:
649
649
"""
650
650
WebSocket server returned by :func:`serve`.
651
651
652
- This class provides the same interface as :class:`~asyncio.Server`,
653
- notably the :meth:`~asyncio.Server.close`
654
- and :meth:`~asyncio.Server.wait_closed` methods.
652
+ This class mirrors the API of :class:`~asyncio.Server`.
655
653
656
654
It keeps track of WebSocket connections in order to close them properly
657
655
when shutting down.
You can’t perform that action at this time.
0 commit comments