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

Add .createServer to HttpProxy api #3

Closed
indexzero opened this issue Jul 27, 2010 · 2 comments
Closed

Add .createServer to HttpProxy api #3

indexzero opened this issue Jul 27, 2010 · 2 comments

Comments

@indexzero
Copy link
Contributor

No description provided.

@nodejitsu
Copy link

I started to implement this feature, but the API for it didnt really make sense, i'm gonna close this ticket for now.

// create regular http proxy server
httpProxy.createServer('localhost', 9000, function (req, res){
sys.puts('any requests going to 8002 will get proxied to 9000');
}).listen('localhost', 8002);

just doesnt seem right

@nodejitsu
Copy link

closed for now

yawnt added a commit that referenced this issue Sep 15, 2013
This issue was closed.
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

1 participant