Demo project for demonstrating functionality of Lib.AspNetCore.ServerSentEvents
C# HTML
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/Demo.AspNetCore.ServerSentEvents
.gitignore
Demo.AspNetCore.ServerSentEvents.sln
LICENSE.md
README.md
global.json

README.md

Demo.AspNetCore.ServerSentEvents

Application for demonstrating functionality of Lib.AspNetCore.ServerSentEvents.

The application exposes two SSE endpoints:

  • /see-heartbeat which can be "listened" by navigating to /sse-heartbeat-receiver.html. It sends an event every 5s and is implemented through an ugly background thread.
  • /sse-notifications which can be "listened" by navigating to /notifications/sse-notifications-receiver. Sending events to this endpoint can be done by navigating to /notifications/sse-notifications-sender.

Donating

Support this and my other projects via Gittip.

Support via Gittip

Copyright and License

Copyright © 2017 Tomasz Pęczek

Licensed under the MIT License