Closed meaku closed 11 years ago
The middleware object is not the perfect solution, so we should be consistent with other frameworks like express/connect/page.js and the way our Client.class handles it.
server.addRoute("get", "/services/bla", handler1, handler2 sever.addRoute("*", "/services/user/*", [handler1, handler2]); server.addRouter("create update", "/services/authentication", authHandler);
Done.
:+1:
The middleware object is not the perfect solution, so we should be consistent with other frameworks like express/connect/page.js and the way our Client.class handles it.