Kevin 29b9a0c50c clean && clean html base 4 éve
..
LICENSE 29b9a0c50c clean && clean html base 4 éve
README.md 29b9a0c50c clean && clean html base 4 éve
index.js 29b9a0c50c clean && clean html base 4 éve
package.json 29b9a0c50c clean && clean html base 4 éve
test.js 29b9a0c50c clean && clean html base 4 éve

README.md

server-destroy

Enable destroying a server, and all currently open connections.

Usage

var enableDestroy = require('server-destroy');

var server = http.createServer(function(req, res) {
  // do stuff, blah blah blah
});

server.listen(PORT);

// enhance with a 'destroy' function
enableDestroy(server);

// some time later...
server.destroy();