- Removed multithreaded development server. Django 1.4 uses multithreading by
default in the
runserver
command.
- Added multithreaded development server.
- Changed name of attribute
WebSocket.websocket_closed
toWebSocket.closed
. - Changed behaviour of
WebSocket.close()
method. Doesn't close system socket - it's still needed by django! - You can run tests now with
python setup.py test
. - Refactoring
WebSocket
class. - Adding
WebSocket.read()
which returnsNone
if no new messages are available instead of blocking likeWebSocket.wait()
. - Adding example project to play around with.
- Adding
WebSocket.has_messages()
. You can use it to check if new messages are ready to be processed. - Adding
WebSocket.count_messages()
. - Removing
BaseWebSocketMiddleware
- is replaced byWebSocketMiddleware
. Don't need for a base middleware anymore. We can integrate everything in one now.
- Fixed a bug in
BaseWebSocketMiddleware
that caused an exception inprocess_response
ifsetup_websocket
failed. Thanks to cedric salaun for the report.
- Initial release