I want to make a request to a logging service after serving the request. For eg you hit an endpoint '/hello' i want to increment count in redis but after serving the request. Something similar to res.on('final') in express.js.
I tried searching the docs to something similar to res.on('final') but can't find any solution.