I have to create an application (in Swift) which fetch informations from a server. They can change at any moment and I want my app to be always up to date.

Here is an instance to be sure you understand the problem : there is an temperature sensor which continually calculate the current temperature. Here my application displays it. And I want the server to notified the application that the temperature had changed right now. Thereby the application gets the new value and displays it.

My question : What's the best kind of server should I use for that ? I already used web socket for that kind of use but I'm not sure it's the best way to do that...

Thanks in advance :D

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.