WebSocket-for-Python
WebSocket-for-Python copied to clipboard
WebSocket client and server library for Python 2 and 3 as well as PyPy (ws4py 0.5.1)
Since Tornado now ships its own client, I don't see the point of keeping one in ws4py. Code to maintain and test for no added value I think.
How do I specify what sub-protocols my application supports? I see that the WebSocketTool upgrade method takes a protocols named parameter but how do I specify that list from my...
ssl.wrap_socket() is deprecated from python 3.7 (see https://docs.python.org/3/library/ssl.html#ssl.SSLSocket). Based on documentation SSLContext.wrap_socket() should be used instead.
Created WebSocket.sock_timeout property to be able to use `sock.settimeout(self.sock_timeout)` for non-blocking reads when a timeout value is provided. When the default value of None is used, the blocking behavior is...
When debugging is enabled, sometimes the following message appears: ``` [D 230728 02:14:00 websocket:465] Closing message received (1005) 'b''' ``` Note too many `'`s in the message. The reason for...
The implementation made several months ago at https://github.com/Lawouach/WebSocket-for-Python/commit/9ffee997a128ea9d7b09fb1dcf4aa280d25ebdc9 works properly when turning on wss:// URLs but fails when trying to turn on server cert validation. This fixes the issues with...
Fix for #290.