Skip to content

atharvagadkari05/Server-sent-events

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Server-sent-events

Design Pattern - Server Sent Events

To Test this API:

Create an Event Source object in client side or your:

var sse_source = new EventSource("Your server endpoint url")

Create a onmessage method which will run whenever server sends an event:

sse_source.onmessage = console.log

simultaneously run the server.

About

Design Pattern - Server Sent Events

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published