On Python 2, strings are bytestrings either way. On Python 3, the result of `chr(channel)` is `str`, while the data itself is `bytes`. The channel prefix needs to be turned into a binary type, and the websocket frame needs the correct opcode (binary vs. text). See #151 for the bug report and related issues. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| stream.py | ||
| ws_client_test.py | ||
| ws_client.py | ||