index.js
function(req, res, next) {
			res.set('XX-Powered-By', 'Restpress');
			req.resource = self;
			req.actionName = actionName;
			req.action = action;
			next();
		}
function(req, res, next) {
			res.set('XX-Powered-By', 'Restpress');
			req.resource = self;
			req.actionName = actionName;
			req.action = action;
			next();
		}
function ( req , res , next ) { res . set ( 'XX-Powered-By' , 'Restpress' ) ; req . resource = self ; req . actionName = actionName ; req . action = action ; next ( ) ; }
prefix function to set rest values
prefix function to set rest values