-
Hello! I'm trying to implement a client for a socket.io 5 server. I'm hitting a very likely trivial stumbling block but I cannot understand from the docs what's wrong: I send: GET /socket.io/?EIO=4&transport=polling I receive:
Nowhere do I see in the docs here (https://socket.io/docs/v4/socket-io-protocol/#sample-session) what the "120:" means or how I'm supposed to parse it. The page does not even contain the word "colon" when I ctrl-f. Also, it is not clear what should the message format be if I directly initiate a ws connection, bypassing http long polling: does socket.io expect:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
okay, issue was that I was calling with EIO=5 which downgraded to EIO=3 |
Beta Was this translation helpful? Give feedback.
okay, issue was that I was calling with EIO=5 which downgraded to EIO=3