odojs / redwire

A dynamic, high performance, load balancing reverse proxy
MIT License
34 stars 3 forks source link

Unregister during runtime #15

Open MartinMuzatko opened 6 years ago

MartinMuzatko commented 6 years ago

Similar to how redbird works, it would be nice to be able to remove listeners during runtime.

eoinmurray commented 6 years ago

This would be awesome

MartinMuzatko commented 6 years ago

I moved to http-proxy-middleware. Using express, you can switch the router during runtime.

eoinmurray commented 6 years ago

@MartinMuzatko I actually figured out how to do it using redwire, and have made pull request

https://github.com/metocean/redwire/pull/16