send data from photon self hosted server to game server

Hello,
I have two servers for my online game. the first one is for storing player's data and the other one is a photon self-hosted server. I want my photon server to send some data to my game server with some specified APIs. for example, when a player disconnects from the photon server, the photon server should send player score and match result to the game server by sending an HTTP request. Please let me know if this is possible and how I can do it. thank you.

Comments

  • Hi, @AmirSff

    Sure, that is possible. You may any tech you like for executing Http request. There are no limitations. Also you could use our HttpRequestQueue. It tries to help you to make this part more reliable. You may check WebRpcHandler.cs:135, method SendHttpRequest to get a better feeling of how to use it

    best,
    ilya