res.jsonp([body]) Sends a JSON response with JSONP support. This method is identical to res.json(), except that it opts-in to JSONP
res.attachment([filename]) Sets the HTTP response Content-Disposition header field to “attachment”. If a filename
req.secure A Boolean property that is true if a TLS connection is established. Equivalent to:
req.xhr A Boolean property that is true if the request’s X-Requested-With header field is “XMLHttpRequest”, indicating
app.route(path) Returns an instance of a single route, which you can then use to handle HTTP verbs with optional middleware. Use app.route()
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
app.path() Returns the canonical path of the app, a string. var
res.download(path [, filename] [, fn]) Transfers the file at path as an “attachment”. Typically, browsers will prompt the user
Overview Express 5.0 is still in the alpha release stage, but here is a preview of the changes that will be in the release
Page 7 of 11