Skip to content

Commit c75b1df

Browse files
committed
Mention the option to keep the legacy implementation.
1 parent 6cea05e commit c75b1df

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/project/changelog.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ Backwards-incompatible changes
5252
If you're using any of them, then you must follow the :doc:`upgrade guide
5353
<../howto/upgrade>` immediately.
5454

55+
Alternatively, you may stick to the legacy :mod:`asyncio` implementation for
56+
now by importing it explicitly::
57+
58+
from websockets.legacy.client import connect, unix_connect
59+
from websockets.legacy.server import broadcast, serve, unix_serve
60+
5561
.. admonition:: The legacy :mod:`asyncio` implementation is now deprecated.
5662
:class: caution
5763

0 commit comments

Comments
 (0)