How used the socket.io library in the background.js #918
Unanswered
QuietlyChan
asked this question in
Q&A
Replies: 2 comments
-
Sorry, I can't help with this. Never used socket.io before, but I don't see why it wouldn't work... |
Beta Was this translation helpful? Give feedback.
0 replies
-
We're using socket.io in our extension right now as a legacy option but we don't have any issues at all with it, we do pass the io("http://localhost:3020", {
transports: ["websocket"],
}); I don't remember why we use websocket as the only transport, might be because we faced the same issue you are facing. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, have you ever used the socket.io library in the background.js of wxt, specifically the "socket.io-client": "^4.7.5" version? While it connects and listens to various events successfully in regular projects, I'm unable to receive success or failure events in my wxt project. How do you typically utilize socket.io in such a setup?
Beta Was this translation helpful? Give feedback.
All reactions