Skip to content

CShepartd/EventSourceDemo-master2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EventSourceDemo

A demo event source server written as an ASP.NET Core MVC 6 application.

The server hosts an event source at the URL /EventSource, which pushes down a JSON object containing the current time as a Message, every second.

The Index for the site contains javascript which listens to this eventsource and appends each message as an element to a div tag.

Releases

No releases published

Packages

No packages published