python-websocket-server
python-websocket-server copied to clipboard
A simple fully working websocket-server in Python with no external dependencies
got error with Pycharm File "C:\Users\Gilles\PycharmProjects\pythonProject\python-websocket-server-master\websocket_server\websocket_server.py", line 15, in from websocket_server.thread import WebsocketServerThread ModuleNotFoundError: No module named 'websocket_server.thread'; 'websocket_server' is not a package
https://github.com/Pithikos/python-websocket-server/blob/fd0b190de3bef32967f64f673897a96544166593/websocket_server/websocket_server.py#L18 overwrites an already set logging configuration if the module is imported afterwards. Whats the reason of this line of code here?
The server crashed when receiving very long strings, the length of which is greater than 65536.
Every time I changed the code, I have to rerun the python file, is it possible to add a dev mode to support hot reload?
1. Right now we have feature to unicast (i.e. sending message to a single specified client) with the help of `server.send_message(client,message)` 2. Right now we also have feature to broadcast(i.e....
I think it'd be a really good idea incase a server needs to reject a connection from certain services, or disconnects at Client Request.
This project is great. I hope to increase file and image transmission
chrome sends OPCODE_CONTINUATION frames when message is large (perhaps > 127K), this may be a easy way to create continuation_frames for test.
This MR is designed to: * fix some python2/python3 inconsistencies * allow users to define an authentication procedure during the handshake
Hello, I testing this proyect, I was wondering if: can I define canals to transmite a message? Is this possble? e.g.: "ws://localhost:port/Channel1" "ws://localhost:port/Channel2" So, with this configuration I could connect...