Open Lazhor opened 1 year ago
Socket.IO does not provide any new connection type. It's just a WebSocket library and you can actually just use internal WebSocketPeer class for that.
Unfortunately WebSocketPeer doesn't work with Socket.IO, only with WS, for Socket.IO to connect to the server, the Socket.IO client itself is needed.
I wrote a simple socket io client for Godot by following the protocols. It has some limitations but hope it helps. https://github.com/teamclouday/GodotSocketIO
Is your feature request related to a problem? Please describe. I was frustrated, I created my entire server using Socket.io, and although I was using Unreal, because it is a 2D game, I was migrating to Godot, but Socket.io does not have a library compatible with GDSCript.
Describe the solution you'd like I wish there was a Socket.io Client for the Godot Engine as well
Describe alternatives you've considered The solution is basically simple, just create a solution (client) for Godot and so we can connect to the server
Additional context Godot Uses GDScript which is very similar to Python, I think it will not be complex to convert the existing Library so that Godot developers use Socket.io as a Client in it