Hi,
I have an application which runs in ofline mode also using browsers local database. Now I want my application to sync this with my server. I want to perform the below tasks
- Check for a connection at regular intervals
- When I have a connection send data to the server
- Get the updated data present on the server.
What should I do to accomplish my above goals?
Is WebSockets a solution to it?