Re: [w3c/ServiceWorker] Should EventSource and WebSocket be exposed in service workers? (#947)

We use service worker to indicate incoming call. It starts with push notification. Then ServiceWorker opens WebSocket where it receives message if the ringing is active. If yes then it shows a Notification and waits until it receives "`ring_end`" message. Afterwards it closes the Notification and the connection. Without WebSocket we would need to use HTTP (long)polling.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/947#issuecomment-265385108

Received on Wednesday, 7 December 2016 08:22:46 UTC