{"_id":"@atsushi_suzuki/http-graceful-close","_rev":"4-4a8d5354cc4165e2862ed5c878bc5c8a","name":"@atsushi_suzuki/http-graceful-close","description":"gracefully close http server with keep-alive connections","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@atsushi_suzuki/http-graceful-close","version":"0.0.1","description":"gracefully close http server with keep-alive connections","keywords":["http","server","graceful","close"],"author":{"name":"Atsushi Suzuki"},"license":"ISC","repository":{"type":"git","url":"https://github.com/AtsushiSuzuki/http-graceful-close.git"},"main":"index.js","gitHead":"3a96b2e0004f644f9c6113b542f700b636499a91","bugs":{"url":"https://github.com/AtsushiSuzuki/http-graceful-close/issues"},"homepage":"https://github.com/AtsushiSuzuki/http-graceful-close","_id":"@atsushi_suzuki/http-graceful-close@0.0.1","scripts":{},"_shasum":"faa4ed5eb70e687362e6026b233f1fb2edd6c438","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"atsushi_suzuki","email":"possibly.maybe.probably@gmail.com"},"maintainers":[{"name":"atsushi_suzuki","email":"possibly.maybe.probably@gmail.com"}],"dist":{"shasum":"faa4ed5eb70e687362e6026b233f1fb2edd6c438","tarball":"https://registry.npmjs.org/@atsushi_suzuki/http-graceful-close/-/http-graceful-close-0.0.1.tgz","integrity":"sha512-35qMrZKLktIfEzueKVGsvG/6HROQbdbJki1fcUzH6wgRXPXpF0+vMeH94fjX+8csPmdsICwfTdlxOLMbpY1lmQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjdSA5AxCsCpnMeOsmAKT3svPuxofi+ir5IyEesd4MCwIhAPcKUey5qirRtltwOg34LaE8t80ECbZR/hK5RFhsKEsL"}]}},"0.0.2":{"name":"@atsushi_suzuki/http-graceful-close","version":"0.0.2","description":"gracefully close http server with keep-alive connections","keywords":["http","server","graceful","close"],"author":{"name":"Atsushi Suzuki"},"license":"ISC","repository":{"type":"git","url":"https://github.com/AtsushiSuzuki/http-graceful-close.git"},"main":"index.js","gitHead":"28da4d1c80943920df99698d857eb606eaa57ec8","bugs":{"url":"https://github.com/AtsushiSuzuki/http-graceful-close/issues"},"homepage":"https://github.com/AtsushiSuzuki/http-graceful-close","_id":"@atsushi_suzuki/http-graceful-close@0.0.2","scripts":{},"_shasum":"f7c2f17ae73fde041091ff8fab1f1a3d3d3a39a5","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"atsushi_suzuki","email":"possibly.maybe.probably@gmail.com"},"maintainers":[{"name":"atsushi_suzuki","email":"possibly.maybe.probably@gmail.com"}],"dist":{"shasum":"f7c2f17ae73fde041091ff8fab1f1a3d3d3a39a5","tarball":"https://registry.npmjs.org/@atsushi_suzuki/http-graceful-close/-/http-graceful-close-0.0.2.tgz","integrity":"sha512-TPBiR7RKaKOib0cP7xTqWq+BER/l6iq5CsoWONFz6CfGRD8Lq2mqQTK4qE/PN/9cIF11LW26TdogVCBDJAHMTw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhx0uMJSo06r4x2YlA0ca5IJi55dfcXTpcg9JT4Cik6gIgPi7gCj0nL9DBVaeIGuUXeSCmEsOT6pfv36Dmfk/LuFk="}]}}},"readme":"# http-graceful-close\ngracefully close http server with keep-alive connections.\n\n\n## API\n\n```js\nvar gracefulHttp = require('http-graceful-close');\n```\n\n\n### gracefulHttp.install(server: http.Server)\n\nInstall `Server.gracefulClose` to given server instance.\n\nThis must be called before first `listen`.\n\n\n### gracefulHttp.createServer(listener: Function): http.Server\n### new gracefulHttp.Server(options: Object)\n\nWrapper of `http` methods.\n\n\n### server.gracefulClose(listener?: Function)\n\n1. Close listening socket by `Server.close`\n2. If there is request with headers not sent, set `Connection: close`\n3. Or wait for 400ms timeout and destroy connection\n","maintainers":[{"name":"atsushi_suzuki","email":"possibly.maybe.probably@gmail.com"}],"time":{"modified":"2022-06-12T14:51:18.628Z","created":"2015-05-18T14:46:57.169Z","0.0.1":"2015-05-18T14:46:57.169Z","0.0.2":"2015-05-25T15:51:42.486Z"},"homepage":"https://github.com/AtsushiSuzuki/http-graceful-close","keywords":["http","server","graceful","close"],"repository":{"type":"git","url":"https://github.com/AtsushiSuzuki/http-graceful-close.git"},"author":{"name":"Atsushi Suzuki"},"bugs":{"url":"https://github.com/AtsushiSuzuki/http-graceful-close/issues"},"license":"ISC","readmeFilename":"README.md"}