Created by: Ksengine
WSocket to list
addedSimple WSGI HTTP + Websocket Server, Framework, Middleware And App.
Includes
- Server(WSGI) included - works with any WSGI framework
- Middleware - adds Websocket support for any WSGI framework
- Framework - simple Websocket WSGI web application framework
- App - Event based app for Websocket communication
When external server used some clients like Firefox requires
http 1.1
Server. Middleware, Framework, App - Handler - adds Websocket support to wsgiref(python builtin WSGI server)
- Client -Coming soon...
Common Features
- only single file less than 1000 lines
- websocket sub protocol supported
- websocket message compression supported (works if client asks)
- receive and send pong and ping messages(with automatic pong sender)
- receive and send binary or text messages
- works for messages with or without mask
- closing messages supported
- auto and manual close
Alternatives
Non WSGI
- Autobahn - huge with extras
- websocket-client - client only no server -websockets - python2 not supported
WSGI
- Django Channels - only for Django. but WSocket middleware can add support for any WSGI framework.
- Flask-SocketIO - only for Flask.
- gevent-websocket - only for Gevent Server
- ws4py - works with few servers. but WSocket works with many servers