Path to this page:
Subject: CVS commit: pkgsrc/www/py-websockets
From: Adam Ciarcinski
Date: 2025-02-18 11:32:29
Message id: 20250218103229.26854FBE0@cvs.NetBSD.org
Log Message:
py-websockets: updated to 15.0
15.0
Backwards-incompatible changes
Client connections use SOCKS and HTTP proxies automatically.
If a proxy is configured in the operating system or with an environment \
variable, websockets uses it automatically when connecting to a server. SOCKS \
proxies require installing the third-party library python-socks.
If you want to disable the proxy, add proxy=None when calling \
:func:`~asyncio.client.connect`.
Keepalive is enabled in the :mod:`threading` implementation.
The :mod:`threading` implementation now sends Ping frames at regular intervals \
and closes the connection if it doesn't receive a matching Pong frame just like \
the :mod:`asyncio` implementation.
New features
Added :func:`~asyncio.router.route` and :func:`~asyncio.router.unix_route` to \
dispatch connections to handlers based on the request path. Read more about \
routing in :doc:`routing <../topics/routing>`.
Improvements
Refreshed several how-to guides and topic guides.
Added type overloads for the decode argument of \
:meth:`~asyncio.connection.Connection.recv`. This may simplify static typing.
Files: