Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
connect middleware for server sent events (EventSource)
JavaScript
Tree: 1d1918b57c

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
.travis.yml
README.md
index.js
package.json
test.js

README.md

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"});
});
Something went wrong with that request. Please try again.