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

[node routing] server function parameters #93

Open
andrewMacmurray opened this issue Feb 10, 2016 · 1 comment
Open

[node routing] server function parameters #93

andrewMacmurray opened this issue Feb 10, 2016 · 1 comment

Comments

@andrewMacmurray
Copy link
Contributor

in your server function should the params be function server(handler, port)? app seems a bit confusing as a param, what do you guys think?

@andrewMacmurray andrewMacmurray changed the title server function parameters [node routing] server function parameters Feb 10, 2016
@franzmoro
Copy link
Member

if that were so, it would be confusing when you'd have more than one handler defined. the "app" is supposed to be the application you build, which in this case it routes all the requests to the associated handlers.

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