Does the Unity WebGL SDK call Convai API from the client (browser) or from the server?

Hi Convai team / community,

I’m using the Convai Unity WebGL SDK to deploy a browser-based game. I’d like to clarify the architecture of the API call.

When the WebGL build runs in the user’s browser, does the SDK send the API request directly from the user’s browser (client-side) to Convai’s servers?. Or does the request go from the web server hosting the game, meaning the SDK sends calls via your game’s server (server-side) to Convai’s API?

Thanks in advance for any clarification!

Hello,

Welcome to the Convai Developer Forum!

Just to clarify, when a request is made from the Unity WebGL SDK, it’s sent directly from the user’s browser to Convai’s servers. Your hosting server is not involved in forwarding or proxying these API calls.