Files
deb-python-autobahn/examples/twisted/websocket/echo_site
meejah 9b85b80f27 putChild() calls need bytes
To work properly on Python3, putChild() calls need bytes for their
URL fragments, as Twisted uses bytes for URIs.
2016-06-14 17:31:53 -06:00
..
2016-05-01 18:17:39 +02:00
2014-06-15 12:58:14 +02:00
2016-05-01 18:24:51 +03:00
2016-06-14 17:31:53 -06:00

WebSocket Echo Server as Twisted Web Resource

This is a variant of a basic WebSocket Echo server that is running as a Twisted Web Resource.

Running

Run the server by doing

python server.py

and open

http://localhost:8080/

in your browser.

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