Regarding this specification: http://www.w3.org/TR/eventsource/
How does one close the opened connection on the server? Client-side wise it is easy, just call close(), but what should I do on the server? Just kill it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
node.js:
see example for implementation of SSE server in node.js:
https://github.com/Yaffle/EventSource/blob/master/nodechat/server.js