Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replacing the websocket communications with REST API calls #495

Open
sg777 opened this issue Sep 27, 2021 · 0 comments
Open

Replacing the websocket communications with REST API calls #495

sg777 opened this issue Sep 27, 2021 · 0 comments

Comments

@sg777
Copy link
Contributor

sg777 commented Sep 27, 2021

Currently, the GUI is connecting to the backend using websockets. In the backend I'm using libwebsockets to run the webserver to which the GUI needs to be connected during the game.

So, ideally, when the user enters the dealer hosted uri on the browser, the user gets the interface to play the game. In order for the user to connect to the backend, the user has to enter the backend node IP address and then a websocket connection is established between the GUI and backend and further game communication happens through this WS connection.

Since, its not ideal to ask the user to have the backend node running on the static IP, we moving away to remove the dependency on this static IP part. For these reasons we are exploring what possible ways a player from the GUI can connect to the backend node without enforcing the user to run the backend node on the static IP.

Can anyone expertise on this, please share your thoughts on how we can achieve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant