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?
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.
Christopher Bonnell
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:
Where onRequestTimeout would contain an argument in reference to the request (JSON format) that failed?
1 person likes this idea