/Demo.AspNetCore.ServerSentEvents

Demo project for demonstrating functionality of Lib.AspNetCore.ServerSentEvents

Primary LanguageC#MIT LicenseMIT

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.

Copyright and License

Copyright © 2017 Tomasz Pęczek

Licensed under the MIT License