examples/stream-server-side-events
dongyu 50bcadf73e migrate to koa@2 (#108)
* support async/await

* change nodejs version 4 or 6 to 5.6

* eslint

* remove jade
2017-05-30 20:44:57 +08:00
..
2017-05-30 20:44:57 +08:00
2016-10-20 12:55:21 +08:00
2016-10-20 12:55:21 +08:00

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