Wiki

Clone wiki

Casino2ApiClient / Local cache server

Running games with local cache server

You can host static files on your local server to speed up game loading process.

Static host should have it's own domain name, for example, "static123.domain.com" pointing to static server IP-address. Host MUST use SSL.

To run game session with your own static host you should provide "static_host" parameter in Game.run method with your domain name.

Game.run({"game": "gameId", "player": "playerId", "static_host": "static123.domain.com"})

Rsync repo with static files: rsync://gamingmodule.com/static

Updated