Gevent-socketio-master

Latest version: v0.3.6.99

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

Scan your dependencies

0.3.6

-----------------------------

* initialize() on Namespace objects, as well as Mixins (and all
descendants) is now called by the framework, with ``self`` as a
parameter.
* xhr-longpoll fixed for compat with gevent 1.0bX
* gevent 1.0 bugfixes
* added a paster server integration , use with: egg:gevent-socketiopaster
* Fixed memory leak

0.3.5rc3

-----------------------------
* Compatibility with gevent 1.0
* Configurable json serialization
* Django server support
* Better jsonp support

0.3.5rc2

-----------------------------
* We echo the connect packet back to the client now
* namespace on handler is now called 'resource' to match node.js
* Even better flash policy support, well tested in IE
* Memory Leak Fixes

0.3.5rc1

-----------------------------
* Better test coverage on packets and namespace
* recv_disconnect now works from heartbeats
* ACLs weren't being checked when events fired
* Handle decimals in messages now
* Flash policy server support was improved, now default to port 10843

0.3.5beta

-----------------------------

* Official repository now on Github: https://github.com/abourget/gevent-socketio
* Official documentation now on ReadTheDocs: http://readthedocs.org/docs/gevent-socketio/en/latest/
* Largely improved documentation
* Added tests for packets, namespace and socket
* Added several examples (chatter2, testapp, chatter3, chatter4, cross-origin), fixed up the chat.py example.
* Added the ``initialize()`` method to namespaces.
* Added ``reset_acl()`` on namespaces.
* Renamed ``call_method`` to ``call_method_with_acl`` on namespaces.
* Added a Gunicorn worker (GeventSocketIOWorker) and docs
* Implemented the 'ack' callback functions, on both the Python and Javascript sides (when you emit with a callback function as the last argument in javascript, or with keyword ``callback=function`` in Python).
* Added support for disconnection clean-up (``disconnect()`` on namespaces)
* Added a ``session`` dict to both Socket and Namespace objects (a session is unique to a Socket, but provided on the Namespace for convenience), which can hold any session data.
* Improved the RoomsMixin, changed signature of the "emit_to_room" function.
* Improved the BroadcastMixin, implemented the broadcast_event_not_me()
* Added XHR access control headers on handshake

The new release is marked as beta, but is still pretty stable and can be used. All the major features are there, but we might want to change some small bits here and there, for clarity or conciseness.

0.3

------------------------------------

* Implemented the Socket.IO 0.7+ protocol.
* Added namespaces and a way to catch events and dispatch them
* Added documentation
* Works on most web frameworks where very small integration is required
* ..woah, so much has changed..

Don't use pyramid_socketio anymore, as most of the concepts have been
moved to gevent-socketio. Instead of using the old django-socketio
package with single function dispatchs, use gevent-socketio directly.
See examples and documentation for integration.

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.