Answer the question
In order to leave comments, you need to log in
How to get a response after sending a message over WebSocket?
Good day!
Implemented a small chat in Node.js using web sockets . Sending some data: ws.send(data); How to get a response from the server so that, in which case, it would be possible to catch the error?
Answer the question
In order to leave comments, you need to log in
you have a node.js console do console.log in the server code and see the errors
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question