Friday, 2 June 2017

trying to block res.send()

i'm trying to block res.send() from sending the response if the headers already have been sent (trying to implement an async thingy here)but the difficulty is that i don't want to intervine with the code directly , but using an event or something elsei tried with with process.exit but it kills everything, the 'finish' event is too late because node already sent the responsei need help please :(

Submitted June 02, 2017 at 07:50PM by doovan

No comments:

Post a Comment