H.Socket.IO icon indicating copy to clipboard operation
H.Socket.IO copied to clipboard

Support socketio server v3 and v4

Open tommy19970714 opened this issue 3 years ago • 1 comments

In the following issue, he says that v2 of socketio server is not supported and v3 and v4 are supported, but when I tried it, it works with v2 but not with v3 and v4. https://github.com/HavenDV/H.Socket.IO/issues/16

I referred to the test code, but this project has been tested only with v2. https://github.com/HavenDV/H.Socket.IO/blob/master/src/tests/Socket.IO.ChatExample/chat.js

As noted below, there seems to be a disruptive change in socketio v2 and v3. https://socket.io/docs/v3/migrating-from-2-x-to-3-0/index.html

Can you support v3 and v4 of socketio server?

tommy19970714 avatar Jul 19 '21 02:07 tommy19970714

At the moment, I do not use this library in my projects, so I provide support as I have free time. It will help me a lot if you provide me with js code for simple servers for each version of Socket.IO. This way I can create local tests and make the client work.

HavenDV avatar Jul 19 '21 09:07 HavenDV