my understanding is that if the requests are less than 3, or are distributed over minutes, than http.
Else websocket.
wdyt?
my understanding is that if the requests are less than 3, or are distributed over minutes, than http.
Else websocket.
wdyt?
Yep. Good old https rest api does the job for 95% of the functionality. However, when you need async event driven stuff, websockets is the way to go. For example, when I am waiting for a Lightning payment, I prefer to use a websockets to push the event through when it comes rather than poll for it. A lot less stress on the server.