8
rated 0 times
[
9]
[
1]
/ answers: 1 / hits: 22848
/ 8 Years ago, sun, april 17, 2016, 12:00:00
I use node.js (Express) with server-sent events. I would like to close the event stream by closing the sse HTTP connection. Given the folllwing function:
router.get('/sse', function (req, res) {
});
how can this be achieved?
More From » node.js