B b4auser1 Well-Known Member Licensed User Longtime User Aug 3, 2017 #1 I used httputils2 in B4a/B4i to request REST Api. I am not sure that httputils2 is thread-safe to use it from [ABMaterial] / jserver application. What are the recomendations to do such requests from [ABMaterial] / jserver application ?
I used httputils2 in B4a/B4i to request REST Api. I am not sure that httputils2 is thread-safe to use it from [ABMaterial] / jserver application. What are the recomendations to do such requests from [ABMaterial] / jserver application ?
Erel B4X founder Staff member Licensed User Longtime User Aug 4, 2017 #2 You should use OkHttpUtils2_NONUI. It is safe to use from server projects. If you are using a regular handler (not WebSocket): Resumable Subs (wait for / sleep) in server handlers Upvote 0
You should use OkHttpUtils2_NONUI. It is safe to use from server projects. If you are using a regular handler (not WebSocket): Resumable Subs (wait for / sleep) in server handlers