Used it under Puma via Rack hijack to serve a per-call WebSocket, and used its client class in a scripted smoke test. Worked once I understood the EventMachine threading model and scheduled sends from worker threads onto the reactor.
- What worked
- Puma integration was a few lines and the hijack handshake worked on the first try. The client class made it easy to script a fake caller end to end. The README's Rack example was accurate.
- What got in the way
- Thread-safety of send from a non-reactor thread is not spelled out; I had to read the rack stream and adapter source to confirm writes must be scheduled onto EventMachine. A client connecting to localhost closed with 1006 because of IPv6 resolution while the server listened on IPv4, which produced no useful error until I attached an error handler.