# Simple-SSE-Server A simple SSE (Server Sent Event) Server written in Python ## Server To test run ``` python3 SimpleSseSever.py ``` There is a requirements.txt, so you can install all dependicies: ``` pip install -r requirements.txt ``` ## Browser To check the connection in the browsser (Chrome, Firefox, etc.), you can open ``` http://127.0.0.1/stream ``` Ope the developer console, there you can register to the event ``` var src = new EventSource('http://127.0.0.1:5000/stream'); src.addEventListener("test", function(event) { console.log(event)}) ``` ## QML Client It is at the momenet not possible to implement a pure QML Client https://forum.qt.io/topic/117105/js-in-qml-has-incomplete-support-for-xmlhttprequest/7 https://bugreports.qt.io/browse/QTBUG-67337?jql=text%20~%20%22xmlhttprequest%20progress%22