We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5be975e commit 2b990e8Copy full SHA for 2b990e8
docs/faq/client.rst
@@ -81,15 +81,9 @@ The connection is closed when exiting the context manager.
81
How do I reconnect when the connection drops?
82
---------------------------------------------
83
84
-.. admonition:: This feature is only supported by the legacy :mod:`asyncio`
85
- implementation.
86
- :class: warning
+Use :func:`~websockets.asyncio.client.connect` as an asynchronous iterator::
87
88
- It will be added to the new :mod:`asyncio` implementation soon.
89
-
90
-Use :func:`~websockets.legacy.client.connect` as an asynchronous iterator::
91
92
- from websockets.legacy.client import connect
+ from websockets.asyncio.client import connect
93
94
async for websocket in connect(...):
95
try:
0 commit comments