Simple SSE Server
Simple middleware that will leave the HTTP connection and use it for SSE communication.
Below is an example of setting up the server on the /events
route.
var SSEServer = ;var sse = 'events'; app;
Client code is simple too!
var events = 'http://localhost:4000/events'; events; events { //called when socket is listenning} events { events;}