kiss_socketio is a small sandbox project to discover the javascript library socket.io.
It contains the client side and the server side.
See also Socket.io on github and npmjs.
This repo contains one WebSocket server in the directory srv. It serves html, css and js. It acts as a REST Api. And it provides the WebSocket service.
This repo contains three clients that consumes the WebSocket service:
- web : it uses the WebSocket service from the browser
- client_js : it uses the WebSocket service from a nodejs-application based on the package socket.io-client
- client_py : it uses the WebSocket service from a python-application based on the package python-socketio
ncp is much more populare but doesn't have the feature watch. cpx has the feature watch, has dependencies and one minor vulnerability.
The candidates to make a socket.io client with Python:
With the two firsts, I couldn't disable the certification verification of my self certificate. The third one lets me disable it with verify=True.