ngx-socket-io icon indicating copy to clipboard operation
ngx-socket-io copied to clipboard

Make sure the message was emitted

Open mer30boy opened this issue 4 years ago • 2 comments

hi there

How can I make sure a message was sent or not sent by the following function: this.socket.emit('new-message', msg);

mer30boy avatar Aug 15 '20 06:08 mer30boy

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.

Helveg avatar Aug 22 '20 15:08 Helveg