python-trio / trio-websocket

WebSocket client and server implementation for Python Trio
MIT License
70 stars 26 forks source link

Remove client class #27

Closed mehaase closed 6 years ago

mehaase commented 6 years ago

As mentioned in #24, the WebSocketClient class is a confusing and unnecessary part of the API. This PR replaces that class with a context manager. It also adds support for opening a WebSocket by URL.

mehaase commented 6 years ago

Merged directly to master.