WebSocket for Python 2 and 3 on Twisted and asyncio

Discussion in 'Python' started by Tobias Oberstein, Jan 3, 2014.

  1. 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
    Tobias Oberstein, Jan 3, 2014
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jean-Paul Calderone
    Replies:
    0
    Views:
    443
    Jean-Paul Calderone
    Jun 17, 2008
  2. Mihael
    Replies:
    4
    Views:
    1,638
    Knute Johnson
    Mar 7, 2012
  3. Glyph
    Replies:
    0
    Views:
    172
    Glyph
    Dec 27, 2012
  4. Glyph
    Replies:
    0
    Views:
    146
    Glyph
    Apr 3, 2013
  5. Tobias Oberstein
    Replies:
    0
    Views:
    113
    Tobias Oberstein
    Jan 9, 2014
Loading...

Share This Page