Middleware typedef

void Middleware (
  1. Request req,
  2. Response res,
  3. NextFunction next
)

Implementation

typedef void Middleware(Request req, Response res, NextFunction next);