T
Tobias Oberstein
Hi,
Autobahn provides open-source implementations of
* The WebSocket Protocol
* The Web Application Messaging Protocol (WAMP)
https://github.com/tavendo/AutobahnPython
https://pypi.python.org/pypi/autobahn
Starting with the release 0.7.0, Autobahn now fully supports (with all features) both
* Twisted (on Python 2/3) and
* asyncio (on Python 3.3+)
as the underlying networking framework.
Here is a complete example of WebSocket server and client:
Twisted:
https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/websocket/echo
Asyncio:
https://github.com/tavendo/AutobahnPython/tree/master/examples/asyncio/websocket/echo
The application code is very similar or even identical.
Cheers,
/Tobias
Autobahn provides open-source implementations of
* The WebSocket Protocol
* The Web Application Messaging Protocol (WAMP)
https://github.com/tavendo/AutobahnPython
https://pypi.python.org/pypi/autobahn
Starting with the release 0.7.0, Autobahn now fully supports (with all features) both
* Twisted (on Python 2/3) and
* asyncio (on Python 3.3+)
as the underlying networking framework.
Here is a complete example of WebSocket server and client:
Twisted:
https://github.com/tavendo/AutobahnPython/tree/master/examples/twisted/websocket/echo
Asyncio:
https://github.com/tavendo/AutobahnPython/tree/master/examples/asyncio/websocket/echo
The application code is very similar or even identical.
Cheers,
/Tobias