I have a ruby application in which I am using puma web server which listens on port 8008.
Now I have got requirement to implement socket.io/websockets.
I was exploring the possibility of using EventMachine::WebSocket but since my puma application is already using port 8008, I cannot bind to 8008.
My UI is written in javascript and puma application basically exposes rest endpoints.
How can I implement websockets in such a scenario?