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

Running requests through a proxy server #18

Open
martisj opened this issue Sep 25, 2016 · 1 comment
Open

Running requests through a proxy server #18

martisj opened this issue Sep 25, 2016 · 1 comment

Comments

@martisj
Copy link

martisj commented Sep 25, 2016

I have to do all requests through a proxy server, how would I go about intercepting the wcf.js request to go through a proxy server?

@yaronn
Copy link
Owner

yaronn commented Sep 27, 2016

it's not officially supported but wcf.js depends on ws.js which you can patch to get this behavior by adding the proxy parameter when calling the request module:

https://github.com/yaronn/ws.js/blob/master/lib/handlers/client/http.js#L9

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