You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{io}from"socket.io-client";constrevisionNumber=io.protocol;console.log(`$$$Debug: SocketIo PROTOCOL NUMBER ${revisionNumber}`);-->undefined
Expected behavior
expected the socket protocol number.
As the python-socketio server returns "The client is using an unsupported version of the Socket.IO or Engine.IO protocols"
This is a monrepo with different components using different versions of the socket.io client library.
I need to figure out whether the library used by my component follows the correct protocol.
It is bad enough that there is no way to know the version of the library programmatically.
Platform:
Device: [e.g. Samsung S8]
OS: [e.g. Android 9.2]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
io.protocol is undefined
To Reproduce
Please fill the following code example:
Socket.IO server version: not relevant
Server
Socket.IO client version:
4.7.5
Client
Expected behavior
expected the socket protocol number.
As the python-socketio server returns "The client is using an unsupported version of the Socket.IO or Engine.IO protocols"
This is a monrepo with different components using different versions of the socket.io client library.
I need to figure out whether the library used by my component follows the correct protocol.
It is bad enough that there is no way to know the version of the library programmatically.
Platform:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: