websockets
websockets copied to clipboard
Library for building WebSocket servers and clients in Python
Hi folks, How can I create a websocket client where the server requires digest authentication?
EDIT - until this is implemented, the workaround consists in creating a socket connected to a socks proxy e.g. with https://pypi.org/project/python-socks/, then `connect(sock=...)`. See https://github.com/python-websockets/websockets/issues/475#issuecomment-1268504779 for details.
Currently, if the ping_intervall is 25 seconds and the "asyncio.wait_for" in keepalive_ping takes for whatever reason 10 seconds, it results in a timeframe of 35 seconds with no new ping...
Hey everyone! Amazing library, been using for a while in production now. :) I am running into a small issue tracking active websocket connections. I am using a set to...
They contain outdated info. It's unclear that the cheat sheet is useful at all now that we have a tutorial. ~Also, I find the location of the FAQ unintuitive.~ [fixed]
If the server sends a message and then closes the connection, it's possible for the client to fail to `recv()` the message due to an attempt to send a pong...
Hi there, I created this PR to add a new documentation guide to the website. It's a new deployment guide covering how to deploy websockets on Koyeb. I took care...