res.send([body]) Sends the HTTP response. The body parameter can be a Buffer object
When you run Express apps for production, it is helpful to use a process manager to achieve the following tasks: Restart the app
req.get(field) Returns the specified HTTP request header field (case-insensitive match). The Referrer and Referer
req.stale Indicates whether the request is “stale,” and is the opposite of req.fresh. For more information, see
app.disable(name) Sets the Boolean setting name to false, where name is one of the properties from the
req.ips When the trust proxy setting does not evaluate to false, this property contains an array of IP addresses specified
req.route Contains the currently-matched route, a string. For example: app
Use the app.engine(ext, callback) method to create your own template engine. ext refers to the file extension, and callback is the template
Overview Middleware functions are functions that have access to the request object (req), the response object (res)
req.subdomains An array of subdomains in the domain name of the request. //
Page 9 of 11