Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 1.0.2
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (13 sloc) 0.382 kb

Build Status

Usage:

var sse, express, app;

sse = require('connect-sse')();
express = require('express')

app = express()
app.get('/events', sse, function (req, res) {
  res.json("this is an event");
  res.json({here: "is", another: "event"});
});
Jump to Line
Something went wrong with that request. Please try again.