node-http-mitm-proxy icon indicating copy to clipboard operation
node-http-mitm-proxy copied to clipboard

Proxy.prototype.close() should take a callback

Open ks07 opened this issue 8 years ago • 0 comments

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.

ks07 avatar Nov 10 '17 12:11 ks07