Source

txWebsocketClient /

Filename Size Date modified Message
1.1 KB
843 B
3.7 KB
2.5 KB
2.6 KB
17.5 KB
This is a client for the websocket protocol for the Twisted framework, following the http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol-76 specifications.


Basic demonstration
*******************

0/ get the server from http://github.com/rlotun/txWebSocket
1/ launch "python load_test_server.py" in one terminal
2/ launch "python load_test_client.py ws://localhost:8080/loadtest" in another terminal
3/ repeat step 2 and enjoy the production of useless streams of data :)


Usage
*****

Refer to load_test_server.py


Notes
*****

Some parts of the protocol are not implemented:
- utf8 conformance of the frames (on purpose)
- fixed length frames only
- encoded transfers with wss scheme


License
*******

This software is released under the same terms than the Twisted license. See the LICENSE file distributed with this software.