End call for XPMobileSDK.RequestStream after a while

Hi guys.

Is there a way to end (or to generate an error ) on the XPMobileSDK.RequestStream , after a period of time ?

The scenario is the following: on my app , a message “Start loading” remains forever. The reason is that the call to Request stream never respond with an error or with a succesful connection.

So, I want to terminate the call to requeststream after one minute or so.

thanks for your comments.

Hello Luis,

The solution that I can propose to you is to use XPMobileSDK.requestStream instead of XPMobileSDK.RequestStream. I made a detailed video explanation what is the differences and how you can benefit from this command here:

https://youtu.be/G7FcAbOtdD0

Thanks Teodor, I really appreciate your help.
Yep, I’ll give a try on the requestStream…

Thanks again!