node-mitm-proxy
node-mitm-proxy copied to clipboard
Upstream proxy
How to implement it?
Say, I need to rewrite something in this mitm-proxy and send the traffic to the upstream HTTP proxy.
Thanks!
sth. like
proxy.on('request',(req,url)=>{
http.get(url).pipe(req)}
probably no http.get and no pipe, just sth. like that