Trio-websockets

Latest version: v0.2

Safety actively analyzes 688944 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

2.3

...

* Improved compliance of close codes.

2.2

...

* Added support for limiting message size.

2.1

...

* Added ``host``, ``port`` and ``secure`` attributes on protocols.

* Added support for providing and checking Origin_.

.. _Origin: https://tools.ietf.org/html/rfc6455section-10.2

2.0

...

.. warning::

**Version 2.0 introduces a backwards-incompatible change in the**
:meth:`~protocol.WebSocketCommonProtocol.send`,
:meth:`~protocol.WebSocketCommonProtocol.ping`, and
:meth:`~protocol.WebSocketCommonProtocol.pong` **APIs.**

**If you're upgrading from 1.x or earlier, please read this carefully.**

These APIs used to be functions. Now they're coroutines.

Instead of::

websocket.send(message)

you must now write::

await websocket.send(message)

Also:

* Added flow control for outgoing data.

1.0

...

* Initial public release.

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.