Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream proxy #10

Open
andr0s opened this issue Jul 22, 2014 · 1 comment
Open

Upstream proxy #10

andr0s opened this issue Jul 22, 2014 · 1 comment

Comments

@andr0s
Copy link

andr0s commented Jul 22, 2014

How to implement it?

Say, I need to rewrite something in this mitm-proxy and send the traffic to the upstream HTTP proxy.

Thanks!

@zszszsz
Copy link

zszszsz commented Apr 23, 2016

sth. like

proxy.on('request',(req,url)=>{
        http.get(url).pipe(req)}

probably no http.get and no pipe, just sth. like that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants