Repository navigation
socket.io.on causes crash because io does not exist #3801
|
I'm porting my application from socket.io 2.3.0 to 3.1.1. The porting docs as well as the socket instance docs both say that some of the events I used to listen on have been moved, so Am I misunderstanding the change? |
Answered by
darrachequesne
Feb 14, 2021
Replies: 1 comment 1 reply
I think you are referring to the server Socket instance, not the client Socket instance. On the server-side, Documentation: |
1 reply
Answer selected by
gperrow
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you are referring to the server Socket instance, not the client Socket instance. On the server-side,
socket.ioindeed does not exist.Documentation: