I have been reading documents/urls and really not understand about app.use and its usage. I understand that it is part of connect but I am really not getting that.
Example:
// ignore GET /favicon.ico app.use(express.favicon()); // add req.session cookie support app.use(express.cookieSession()); // do something with the session app.use(count); can you please explain me all these 3 . what they mean? does this mean based on (1) that app.use is noting but => app.get? app.use(count) what and when is this count be executed (or) called/
Looks Basic but did not get the answers
// ignore GET /favicon.ico app.use(express.favicon()); // pass a secret to cookieParser() for signed cookies app.use(express.cookieParser('manny is cool')); // add req.session cookie support app.use(express.cookieSession()); // do something with the session app.use(count); // custom middleware function count(req, res) {