ngx-socket-io
ngx-socket-io copied to clipboard
Make sure the message was emitted
hi there
How can I make sure a message was sent or not sent by the following function:
this.socket.emit('new-message', msg);
I guess by listening to it on the other side of the socket or checking the network traffic using a sniffer or browser dev tools.