How to control http timeouts via the SDK?

We look to be timing out during specific requests made through the Unity SDK. Is there a way to control the http timeout duration via the Unity SDK including requests made to Extend service extensions? Can we control the timeout per request?

Thanks!

Hello @njupshot

In current state, the SDK doesn’t have feature to set http timeout on a specific request yet.
And in the near future, we have plan to add configuration to set the global timeout.

Hi @njupshot,

By default, the HTTP timeout is set to 60 seconds. Could you elaborate on the purpose of configuring the timeout?

If you’re experiencing issues with your external service timeout, such as the timeout being too long, the solution should involve using the correct error code. This way, you won’t need to wait the full 60 seconds.

Yes we’d be looking to shorten it. At least we now know that 60 seconds is the default and can correlate results, thanks.

Not sure I understand what you’re getting at with the error code. Say our client calls an extend service extension endpoint who then queries data in Cloud Save and that query takes longer than 60 seconds to complete, we want the client to have the ability to only wait 5 seconds before executing the associated call back with a timeout error. The service extension is awaiting the response from cloud save, error codes can’t save us here.