router.all(path, [callback, ...] callback) This method is just like the router.METHOD() methods, except that it matches all HTTP
router.METHOD(path, [callback, ...] callback) The router.METHOD() methods provide the routing functionality in Express, where METHOD
app.enabled(name) Returns true if the setting name is enabled (true), where name is one
app.disabled(name) Returns true if the Boolean setting name is disabled (false), where name
Express is a routing and middleware web framework that has minimal functionality of its own: An Express application is essentially a series of middleware function calls.
res.sendFile(path [, options] [, fn]) res.sendFile() is supported by Express v4.8.0 onwards
app.set(name, value) Assigns setting name to value, where name is one of the properties from the app
res.download(path [, filename] [, fn]) Transfers the file at path as an “attachment”. Typically, browsers will prompt the user
req.xhr A Boolean property that is true if the request’s X-Requested-With header field is “XMLHttpRequest”, indicating
res.send([body]) Sends the HTTP response. The body parameter can be a Buffer object
Page 7 of 11