Add support for wasm by switching to nhooyr/websocket library.#583
Add support for wasm by switching to nhooyr/websocket library.#583Bluebugs wants to merge 1 commit intoeclipse-paho:masterfrom
Conversation
ddaf55a to
86dc5c7
Compare
|
This is a fairly large change to meet a relatively niche need so I'd appreciate it if you could raise an issue so this change is more visible and can be discussed. Note that you can accomplish this without changes to the library by using the new I don't personally use MQTT over websockets so am somewhat ambivalent re the change. However I do note that |
This is only working at the moment with go wasm port and it is my main interest. Nhooyr websocket library allow also for simplifying NewWebsocket code.
gopherjs doesn't work for some weird interaction with the token logic channel, but it was beyond my goal with this PR and might require people with better knowledge about gopherjs.