Type aliases
AsyncMiddlewareFunction
AsyncMiddlewareFunction: (request: Request, response: Response, next: NextFunction) => Promise<void>
Type declaration
-
- (request: Request, response: Response, next: NextFunction): Promise<void>
-
Parameters
-
request: Request
-
response: Response
-
next: NextFunction
Returns Promise<void>
HandlerFunction
HandlerFunction: (request: Request, response: Response) => Promise<void>
Type declaration
-
- (request: Request, response: Response): Promise<void>
-
Parameters
-
request: Request
-
response: Response
Returns Promise<void>
MiddlewareFunction
MiddlewareFunction: (request: Request, response: Response, next: NextFunction) => void
Type declaration
-
- (request: Request, response: Response, next: NextFunction): void
-
Parameters
-
request: Request
-
response: Response
-
next: NextFunction
Returns void