Answer the question
In order to leave comments, you need to log in
How to catch any socket emit on the client?
It is necessary to check in what form the server sends data to the client in order to clean up the excess. How to print the contents of any emit to the console?
Typically, a client receives a message like this: socket.on('msg', func)
How to do something like this:socket.on('*', func)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question