Y
Y
YakovSpb2021-09-10 13:58:21
Socket.io
YakovSpb, 2021-09-10 13:58:21

How to catch socket emit if an error occurs?

i send a message to the server, but how do i catch the error if there is no internet connection?

SocketIO.emit(SocketIOEvents.ChatMessageSend, message);

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question