redbird
redbird copied to clipboard
Using redbird to block ws:// requests to simulate a corporate firewall?
Hi, I'm trying to test our site's behavior when webSockets are blocked by a corporate firewall (a few of our major customers do this), and looking for a quick, simple way to block ws:// requests. I was thinking I'd just want to return a 502 for those. Is this possible via redbird?
I am sure you could point your ws path to a node app that returns a 502 every time