node-http-mitm-proxy
node-http-mitm-proxy copied to clipboard
Proxy.prototype.close() should take a callback
The close method calls a number of asynchronous functions to close servers started by the proxy, but there is no way for calling code to ascertain when the close operation has completed.
Proxy.prototype.close() should take a callback argument to allow the calling code to perform some actions when the proxy has completed shutting down.