It's specifically meant for use with the
einaros/ws WebSocket library, but it would probably work with almost any other. It handles bad JSON with (what are as far as I can tell) correct
WebSocket close codes, has a verbose logging option for debugging, and has the option to send a keep-alive
null message to the client every n milliseconds (this is necessary, for example, on a platform like Heroku).
This has been very useful for me, hopefully for some of you all, as well.