Basically, I have a remote hosted server somewhere
And then I have the
NNN Desktop Client.
The Desktop Client shows
information X from the
remote hosted server.
How can I make it so that the displayed
information X in Desktop Client is automatically updated?
At first I thought that the solution was
web-hooks, but from what I understand, the Desktop Client would then need a url.
And then I thought of the Desktop client calling an endpoint from the remote hosted server, checking if there are any updates.
Polling, basically. But I don't know if that's the right way. And if it is, do I check every 5 seconds? 1 minute? That I do not know.
Any help or guidance is appreciated.