kenssamson / Demo.AspNetCore.ServerSentEvents

Demo project for demonstrating functionality of Lib.AspNetCore.ServerSentEvents

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

My blog and open source projects are result of my passion for software development, but they require a fair amount of my personal time. If you got value from any of the content I create, then I would appreciate your support by sponsoring me (either monthly or one-time).

Copyright and License

Copyright © 2017 - 2023 Tomasz Pęczek

Licensed under the MIT License

About

Demo project for demonstrating functionality of Lib.AspNetCore.ServerSentEvents

License:MIT License


Languages

Language:C# 80.7%Language:HTML 19.3%