- middleware(__namedParameters?): ((req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, res: Response<any, Record<string, any>>, next: NextFunction) => void)
Returns ((req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>, res: Response<any, Record<string, any>>, next: NextFunction) => void)
- (req, res, next): void
Parameters
- req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
- res: Response<any, Record<string, any>>
- next: NextFunction
Returns void