before send - https://stackoverflow.com/questions/33732509/express-js-how-to-intercept-response-send-response-json
after send - https://stackoverflow.com/questions/22822684/how-to-hook-after-res-send-but-before-the-response-leaves-the-server-when
https://nodejs.org/api/http.html#http_class_http_serverresponse
Last updated 2 years ago
Was this helpful?