python-hyper / wsproto

Sans-IO WebSocket protocol implementation
https://wsproto.readthedocs.io/
MIT License
266 stars 39 forks source link

Bugfix clarify the subprotocol type in events #111

Closed pgjones closed 5 years ago

pgjones commented 5 years ago

The correct type is a string (not bytes), this clarifies it througout and ensures the encoding/decoding is clear. Note that this was unlikely to cause errors previously given h11 would encode.