client side long-polling in node js

102 views
Skip to first unread message

Eric Davies

unread,
May 28, 2014, 6:12:33 PM5/28/14
to nod...@googlegroups.com
I'm writing a piece of middleware in nodejs which accesses another server's restful api, including some items that have to get accessed through long polling.
I'm using the xhr2 module to perform the GET of the long poll, but no data is coming back. Is there anything special I need to do for the long polling?

Additional notes that may add light: if I type the GET query into a Firefox browser's url bar, it happily fetches the data, while Chrome just sits there.


Reply all
Reply to author
Forward
0 new messages