Skip to content

Files

Latest commit

isdongyuhaoxin
and
haoxin
May 30, 2017
50bcadf · May 30, 2017

History

History

stream-server-side-events

stream-server-side-events

This program continually sends events to the web browser. It simulates a series of log file entries that have been appended to a file.

To invoke, the following command begins listening on localhost:3000.

node --harmony app.js

To see results:

http://localhost:3000

Interesting points