python-websocket-server
python-websocket-server copied to clipboard
A simple fully working websocket-server in Python with no external dependencies
Hi, all, I'm trying to use this library in my project. In fact, I'm trying to replace websockets module which uses asyncio. However, one immediate issue I'm facing is that...
message = self.request.recv(1024).decode().strip() UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa7 in position 4: invalid start byte
I'm trying to combine this websocket server with matplotlib's webagg so that I can make a web GUI for plots. It seems that webagg sends bytes instead of string. However,...
Handshake status 401 Unauthorized
Hi for me while installing the WebSocket server on mac it is asking for your github credentials of Pithikos.
Hello, I wanted to add the functionality of supporting an endpoint and assign that as an id to the socket connection, so I made the following changes to your code:...
Hey, is it possible to add a timeout for connections who doesn't send a message in a specified range of time. For example, if a client doesn't send a message...
When you are running a local websocket server, every website you visit could connect to it.
I added some decorator for the following events. * `new_client` * `client_left` * `message_received` and show how to use decorator at [server.py](https://github.com/Pithikos/python-websocket-server/compare/master...Youtong0826:python-websocket-server:master#diff-791d4d41d3718d15d49180f3aacc8370b8cab07383f0d35b2713651cc0adfe46)
During the use of this library, it was found that sometimes it is necessary to pass some custom parameters to the callback function `message_received`. However, this functionality is not currently...