Files
deb-python-autobahn/examples/twisted/websocket/echo_service
2015-09-05 11:08:13 +02:00
..
2013-12-23 00:13:34 +01:00
2013-12-23 00:13:34 +01:00
2013-12-23 00:13:34 +01:00
2015-02-19 19:22:23 +01:00

WebSocket Echo Service

This example shows how to:

  1. package up Autobahn-based servers (and clients) as Twisted services
  2. provide an application as a Twisted plugin (for twistd)
  3. include static files into a package and access those in services

Resources

Running

Run the server by doing

twistd echows

and open

http://localhost:8080/

in your browser.

To activate debug output on the server, start it

twistd echows -d

This will show up all WebSocket messages exchanged between clients and server.