Skip to content

Commit 2b990e8

Browse files
committed
Update FAQ after implementing reconnection.
1 parent 5be975e commit 2b990e8

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

docs/faq/client.rst

+2-8
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,9 @@ The connection is closed when exiting the context manager.
8181
How do I reconnect when the connection drops?
8282
---------------------------------------------
8383

84-
.. admonition:: This feature is only supported by the legacy :mod:`asyncio`
85-
implementation.
86-
:class: warning
84+
Use :func:`~websockets.asyncio.client.connect` as an asynchronous iterator::
8785

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
86+
from websockets.asyncio.client import connect
9387

9488
async for websocket in connect(...):
9589
try:

0 commit comments

Comments
 (0)