// Pre-processing function for incoming requests function preProcessRequest(req) { logWithReq(req, 'Pre-processing request'); }