Skip to content

A server-sent event is when a web page automatically gets updates from a server. This was also possible before, but the web page would have to ask if any updates were available. With server-sent events, the updates come automatically. Examples: Facebook/Twitter updates, stock price updates, news feeds, sport results, etc.

Notifications You must be signed in to change notification settings

logeshkannan96/alerts-server-sent-events

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Server Sent Events

Traditionally, a web page has to send a request to the server to receive new data; that is, the page requests data from the server. With server-sent events, it's possible for a server to send new data to a web page at any time, by pushing messages to the web page.

Many real time services using this approach if it needs to push messages based on an event. Twitter and facebook feeds, stock market trading signals are pushed using this method.

This repo is a simple implementation to explore exactly how Microsoft Teams pushes its incoming webhook messages to the client application.

References

About

A server-sent event is when a web page automatically gets updates from a server. This was also possible before, but the web page would have to ask if any updates were available. With server-sent events, the updates come automatically. Examples: Facebook/Twitter updates, stock price updates, news feeds, sport results, etc.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published