citizen
Version:
Node.js MVC web application framework. Includes routing, serving, caching, session management, and other helpful tools.
18 lines (11 loc) • 553 B
JavaScript
// request events
// This module optionally exports the following methods:
// start(params, request, response, context) - Called at the beginning of every request
// end(params, request, response, context) - Called at the end of every request
// If you have no use for this file, you can delete it.
export const start = (params, request, response, context) => {
// Anything you want to happen at the beginning of a request
}
export const end = (params, request, response, context) => {
// Anything you want to happen at the end of a request
}