WebSockets state-machine based protocol implementation
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wsproto-0.9.0.tar.gz
(9.6 kB
view hashes)
Built Distribution
Close
Hashes for wsproto-0.9.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 682d35f78d7176901c907432dd11efe9992db660d77fba90e4f9c549fb93ec66 |
|
MD5 | ea3f71d1f4ea55220416f1728fd5924e |
|
BLAKE2b-256 | 5fc0adb7c4fad32c2f8f1b8b058197a0e110a6bf369cf2c5414bc5f0913e2761 |