redbird
redbird copied to clipboard
onRequest and onResponse support?
Have support of onrequest and onresponse triggers? example, need send additional header to server "x-real-ip" with http.req.connection.remoteAddress and restrict access to certains urls by example /admin
yes this is something that I have planned and is quite high priority, expect it in the next version.
Thank you very much
+1
Any updates?
Any updates? onRequest is in the readme however there is no handling for it in the function
https://github.com/OptimalBits/redbird/blob/master/lib/proxy.js#L392
This code doesn't work with the latest version, might try to port it over if I have time.