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 I updated from 0.3.4 to 0.3.5 I'm getting the following error when trying to connect to a websocket server: Invalid response status: 502 Bad Gateway The connection is done...
Hello, I started from the droid_cherrypy_server.py example, and I am using SSL. For some reason, the server goes into WantReadError. The issue appears only with Websocket over SSL. ----- UPDATE...
Hi, I just find out that when you call connect(), it's actually a blocking command until the handshake is done. That's not what we expect when using a threaded client...
Hello! This library looks awesome, thank you for it! I'm writing a small program to stay connected to [Twitch's Pubbub system](https://github.com/justintv/Twitch-API/tree/master/PubSub), and it's working beautifully. The only thing I can't...
Hi, I have a problem, and I cannot find this information anywhere in the documentation. I need to pass credentials into each WebSocket subclass instance, and I can find out...
Hi there, I don't have a self-contained test case but I can easily reproduce the following nevertheless in my project. In a subclass of `ws4py.websocket.WebSocket` that is running in a...
Gang: I'm working with the extended chat example (works great out of the box), and trying to send a message from the server to the client when the web socket...
Hi, wanted to set the Host header so I can run locust against different endpoints. WebSocketClient seems to accept custom headers, but there were a couple of surprises: - the...
It is sometimes useful to be able to set a custom Origin header. There is a 'headers' parameter to the client constructor (threaded client), where you can provide a new...
hello everyone, I bumped into a problem with the `send` method of `ws4py.websocket.WebSocket`when SSL is enabled. I have a CherryPy server to which I associate some WebSocket servers. Messages are...