Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Twisted Server Protocol for websockets
Python
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
txwebsockets
README
setup.py

README

Twisted WebSockets protocol

- install with python setup.py install

- To test it open a terminal window, cd examples, run python -m SimpleHTTPServer 8888 to serve interact.html
- In another window, run python examples/interact.py and open http://localhost:8888/interact.html
- type something in the text box


The inspiration for a websocket server (and the test html) came from Joe Armstrong.

Check interact.py to learn how to setup a basic operations class and pass it to the protocol factory.

Gleicon Moraes
 
Something went wrong with that request. Please try again.