-
Notifications
You must be signed in to change notification settings - Fork 2k
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
API not consistent between .createProxy and .createProxyServer #606
Comments
they are not the same thing, a ProxyServer is expected to be used as a server, while Proxy just provides the two function for proxying.. that said, if you think it's better to change it, i can do that ... what do you need exactly? just createProxy to behave like createProxyServer? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@yawnt pretty simple fix here. We lost backwards compatibility hard.
https://github.com/nodejitsu/node-http-proxy/blob/master/lib/http-proxy.js#L11-L16
The text was updated successfully, but these errors were encountered: