WebSocket API for Hand History log

Add your suggestions for improving Poker Mavens
Post Reply
dawg6
Posts: 28
Joined: Wed Jan 05, 2022 8:29 am

WebSocket API for Hand History log

Post by dawg6 »

I see that the Hand History API allows us to request partial file contents by setting the Start and Count parameters, rather than always download the entire file.

While a game is in progress, I want to display a "stream" of the log file contents in real time on my web site, but this would require constant polling to get updates. For servers hosted on a cloud provider like AWS, this can have cost implications.

It would be nice to have a Web Socket API that allows us to subscribe to a Hand History Log File and receive updates in real time.

Alternatively, I suppose I could deploy software on the server where Mavens is running that tails the file and send it to a websocket (I see that several options exist) but if it were built in to the Mavens API, it would be a cleaner solution, in my opinion.
Post Reply