I am attempting to fully understand what middleware is and I've come to bit of a hardspot.
I'm reading through the expressJs docs and its definition of a middleware function which is - "Middleware functions are functions that have access to the request object (req), the response object (res), and the next middleware function in the application’s request-response cycle. The next middleware function is commonly denoted by a variable named next."
I know the next variable doesn't have to be titled "next" to have the func.
I also know there is a difference between middleware(like monogJs) and a middleware function/method(app.use()). In angular the http module also follows this pattern, as do other things within angular and other prevalent frameworks. Are these also considered middleware? Could someone provide clarity for me?