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)
Hello, I am curious why in Heartbeat context manager you send PongControlMessage ? https://github.com/Lawouach/WebSocket-for-Python/blob/master/ws4py/websocket.py#L55 for me more logically to send PingControlMessage ? Thanks in advance!
Hi, I am having this strange problem, I am writing tests on restarting a websocket enabled CherryPy server, and for some reason, when I by using runpy.run_module starts a new...
I am trying to create command line client for websocket message. User can type the message and mean if any message is received it should be printed to terminal. Here...
In client.threadedclient, WebSocketClient has a method run_forever(). The body of the code is: ``` while not self.terminated: self._th.join(timeout=0.1) ``` top was showing bunches of processes that weren't doing anything, which...
It would be useful to preserve information about URL that was requested by client. In cherrypyserver.py ws_location local variable is being created but it is not stored anywhere. Could I...
When going through results, I can see that ws4py doesn't do as well as autobahn performance wise. http://www.defuze.org/oss/ws4py/testreports/servers/0.3.4/ It happens mainly on large messages so it's unlikely to be a...
A the present time, the handshake is almost identical between all server implementations but isn't mutualized. Try clean this up to reduce the quantity of code.
Currently I am working on a server based on the code for WebSocketWSGIApplication in geventserver.py. There, I wanted to add some code to this server to be informed when someone...
While debugging https://github.com/mopidy/mopidy/issues/445 we found that the likely cause for the pegged CPU was the use of select on osx (which I've been told is problematic, don't have any Macs...
If you use a line like `ws = EchoClient('wss://myserver.org:443')` you get an invalid GET request: `0000 47 45 54 20 20 48 54 54 50 2f 31 2e 31 0d...