Skip to content

njsmith/wsproto

 
 

Repository files navigation

Pure Python, pure state-machine WebSocket implementation

https://travis-ci.org/jeamland/wsproto.svg?branch=master Documentation Status

This needs a pile of cleaning up.

It passes the autobahn test suite completely and strictly in both client and server modes and using permessage-deflate.

If you want to run the compliance tests, go into the compliance directory and then to test client mode, in one shell run the Autobahn test server:

$ wstest -m fuzzingserver -s ws-fuzzingserver.json

And in another shell run the test client:

$ python test_client.py

And to test server mode, run the test server:

$ python test_server.py

And in another shell run the Autobahn test client:

$ wstest -m fuzzingclient -s ws-fuzzingclient.json

This was written using Python 3.5. Python 2.7 has not been well tested yet.

About

Sans-IO WebSocket prototype

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.7%
  • Shell 0.3%