1107 shaares
52 private links
52 private links
Petit Server Sent Event fait en C et asynchronous. À utiliser à la place des websocket.
Plus d'info sur Server Sent Event (SSE): http://en.wikipedia.org/wiki/Server-sent_events
Pourquoi ?
Je ne fait que citer tutanota (https://f-droid.org/en/2018/09/03/replacing-gcm-in-tutanota.html):
"SSE fits our needs better than WebSocket would (it is cheaper and converges faster, because it’s not duplex). We’ve seen multiple chat apps trying using WebSocket for push notifications and it didn’t seem power efficient."