easysse-client
Listen to Server-Sent Events, sincerely, most definitely
Demo
Please see node-easysse for a demo
Usage
Using node-easysse with express
var ;app; app;
Using easysse-client
API
-
on(eventType, cb) — add an event listener of
eventType
.(alias
addEventListener
) -
off(eventType, cb) — remove an event listener of
eventType
.(alias
addEventListener
)
Compatibility
Tested on Chrome 33 Please submit any other compatibility reports
License
© 2014 nkitsune, mosdef.biz easysse-client may be freely distributed under the BSD license. For all details and documentation: https://github.com/mosdefbiz/easysse-client