Developing Real-Time Websites

Tips and tricks for the Real-Time Web

View the Project on GitHub jchadwick/RealTimeWeb

Real-Time Technique: Server-Sent Events

Server-Sent Events connects to a server and gets a continuous stream of data as soon as it's available

The following demo calls /Handlers/NewsFeedLongServerSentEvents.ashx

Server-Side Code

Client-Side Code