Restify — Routing
Restify is a simple Node back end framework.
In this article, we’ll look at how to add routes with Restify.
The next Function
The next
function is called to call the next handler in the chain.
For example, we can write:
var restify = require('restify');function respond(req, res, next) {…