I need to implement long polling
for a chat application. I've searched around, but I only find how to implement it in JavaScript
using JQuery
. How can I implement it using only native JavaScript
and node.js
? Can you guide me to some relevant articles or materials?