JohanObrink / intercept-proxy

16 stars 7 forks source link

Added removeHandlers to ProxyServer #5

Open paolodm opened 9 years ago

paolodm commented 9 years ago

Having a method to remove all the handlers would be helpful. In my app, for example, the user is given the option to change his proxy configuration even after the original handlers were set.

This PR includes the ProxyServer.prototype.addHandlers, the unit test, and a minor package bump.