Add a long-poll or websocket Get Session method. This will function identically to the existing Get method, but will only return after a Session has changed:
Voter joins
Voter readys
Session starts (choices generated)
Voter votes
Winner determined (all voters voted)
Keep the current Get method which can be used when users initially join a session or if they refresh the page, etc..
Add a long-poll or websocket Get Session method. This will function identically to the existing Get method, but will only return after a Session has changed:
Keep the current Get method which can be used when users initially join a session or if they refresh the page, etc..