lib/middleware/reply.js

Summary

Maintainability
A
0 mins
Test Coverage
module.exports = function (code, headers, body) {
  return function (req, res) {
    res.writeHead(code, headers)
    res.end(body)
  }
}