Sample SSEvent
The idea here is only to show that you can generate events from the backend and push them to the frontend. The code in here is not "Fancy" and is there only for the sole purpose of a demo.
Pre-requisite
- .Net 5.0 (Built using that, but you could also use dotnet3.1)
How to start
Simply run the following command:
dotnet run
Good related articles
- Using SSE Instead Of WebSockets For Unidirectional Data Flow Over HTTP/2
- StackOverflow question/answer that started this
License
MIT