deb-python-autobahn/examples/twisted/websocket/echo_service
HawkOwl db10039da7 fix examples 2015-09-15 15:41:28 +08:00
..
echows fix examples 2015-09-15 15:41:28 +08:00
twisted/plugins pep8: W291 - trailing whitespace 2015-02-19 19:22:23 +01:00
.gitignore refactoring 2013-12-23 00:13:34 +01:00
MANIFEST.in refactoring 2013-12-23 00:13:34 +01:00
README.md refactoring 2013-12-23 00:13:34 +01:00
setup.py pep8: W291 - trailing whitespace 2015-02-19 19:22:23 +01:00

README.md

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.