Closed jc3213 closed 1 year ago
I've done the code with Web Socket for indicating aria2 running status. It works well for Firefox using background page, but can't work for Chromium due to the life time of Service Worker.
Web Socket
Firefox
Service Worker
I wonder if someone can help me with this
_Originally posted by @jc3213 in https://github.com/jc3213/download_with_aria2/issues/10#issuecomment-1021149859_
RPC那里直接填wss://aria2.test.xyz:8888/jsonrpc 就完事了? 好像没用。 还是WebSocket (safe)没实现? firefox
这个Issue是为了解决MV3默认使用ServiceWorker做后台,无法保持长期连接问题的。如果有需要请另外开个Issue
ServiceWorker
I've done the code with
Web Socket
for indicating aria2 running status. It works well forFirefox
using background page, but can't work for Chromium due to the life time ofService Worker
.I wonder if someone can help me with this
_Originally posted by @jc3213 in https://github.com/jc3213/download_with_aria2/issues/10#issuecomment-1021149859_