invisibleroads / socketIO-client

A socket.io client library for Python
http://pypi.python.org/pypi/socketIO-client
MIT License
447 stars 205 forks source link

Socket.IO v2 support #155

Open dpanic opened 7 years ago

dpanic commented 7 years ago

Hi,

can you tell me will it be possible to make socketIO-client work with socket.io 2.0.1 ( https://github.com/socketio/socket.io/releases ) ?

I think this is the issue -> "uws is now the default Websocket engine".

Nakroma commented 7 years ago

At least for me, currently creating a SocketIO instance is not working with socket.io 2.x

artus9033 commented 7 years ago

Still not working with v2

computersrmyfriends commented 7 years ago

+1

dpanic commented 7 years ago

What is status of this? Do we have any news?

willmorgan commented 7 years ago

I think this is the issue -> "uws is now the default Websocket engine".

I ran with this and tried setting wsEngine: 'ws' in my server config (this was the previous default),

Sadly, the socketIO-client integration still breaks so I don't think that uws is the root cause.

158 looks promising as the other breaking change from the JS library was stopping double-decoding of payloads. As this package doesn't seem to be maintained very much, @Nakroma has forked it with the patch.

eulersson commented 6 years ago

+1 on this.

I don't have privileges to change the socketio version of the backend I am using so I need to use 2.x :(