Closed uli99 closed 3 months ago
Hi, thanks for spotting this.
I didn't even know qooxdoo has wrapper for web sockets :) Unfortunately nobody uses it otherwise the error would be easily spotted.
Yes, I assume everyone uses different libraries for that. In the qx.io.transport.*
namespace this is only a placeholder/proof of concept implementing the local API - it has never been used in one of the qooxdoo apps. But great to see that it finds its use.
https://github.com/qooxdoo/qooxdoo/tree/master/source/class/qx/io/transport contains a number of transports which all implement a very simple interface, on the basis of which higher-level API such as the one implementing JSON-RPC can be built transport-agnostically.
Hi, when using websockets via qx.io.transport, I can only once use the websocket to transmit data, after that nothing happens (arrives at the server)
After some investigation, I looked at the Websocket.js file and found this in line 52 which is odd:
if (!ws.readyState !== WebSocket.OPEN) {
after removing the "!" at the beginning everything worked as expected.
I'm using qoxdoo 7.5.1
My application file looks like this:
The WebSocketEAG2024 class looks like this
I used a python websocket server like this to check messages:
The browser used is Firefox 121.0.1 (64-bit) on linux
Uli