50
rated 0 times
[
54]
[
4]
/ answers: 1 / hits: 47356
/ 10 Years ago, fri, august 8, 2014, 12:00:00
I have a long running process which needs to send data back at multiple stages. Is there some way to send back multiple responses with express.js
res.send(200, 'hello')
res.send(200, 'world')
res.end()
but when I run curl -X POST localhost:3001/helloworld
all I get is hello
How can I send multiple responses or is this not possible to do with express?
More From » node.js