Soketi is used as a websocket server to handle notifications from backend in this simple case python to frontend. Using websocket protocol.
This simple gist explain how to use it in practice.
- compose.yaml: to run
socketi serverusingdocker compose - webpage.html: the HTML page with JS code to bind
socketi events - send_soketi_event.py: the
python scriptto sendsocketi eventstosocketi serverthat will be arrived inwebpage.html