Sign In Register

How can we help you today?

Start a new topic

Global callback on request timeout

Currently, one must explicitly handle timeout requests on a per-request basis.

However, if we wanted a global solution, a catch-all, can we get a callback? Something like:


// Unity SDK
GS.onRequestTimeout += showDisconnectedAlert;
// or even..
GS.onRequestTimeout += retryRequestThenShowAlert;


Where onRequestTimeout would contain an argument in reference to the request (JSON format) that failed?

1 person likes this idea
1 Comment

Hi Christopher, 

This sounds like a great addition to the SDK. I have added this as a feature request. It will be added to the SDK in an upcoming update. 

Best Regards, Patrick. 

Login to post a comment