You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 12, 2018. It is now read-only.
I found this library works very well and the examples were easy to understand. However, when I look at them I get the impression that it should also be possible to send server-side-events using this library. However, when I tried I could not get it to work, I think because all examples correctly close the connection when they are done.
Would it be possible to send server side events using simple-web-server? And if so, could you add an example, for example an equivalent of the server-time clock at https://www.w3schools.com/html/html5_serversentevents.asp.