O'Reilly logo
  • Patrick S thinks this is interesting:

middleware is a function that accepts the request, response, and the next callbacks. The first two parameters represent the input and output of the middleware. The last one is a way to pass the flow to the next middleware in the list


Cover of Node.js Blueprints


what is Middleware