index.js
function requestHandler (method) {
  return function (req, res, next) {
    method.call(this, req, responseHandler(res, next));
  }.bind(this);
}
function requestHandler (method) {
  return function (req, res, next) {
    method.call(this, req, responseHandler(res, next));
  }.bind(this);
}
function requestHandler ( method ) { return function ( req , res , next ) { method . call ( this , req , responseHandler ( res , next ) ) ; } . bind ( this ) ; }
Returns a request handler using some method.

@param {Function} method
@return {Function}
@api private
Returns a request handler using some method .