Error handling on send message

27 views
Skip to first unread message

Juan Ignacio Garzón

unread,
Aug 9, 2017, 9:26:28 PM8/9/17
to Strophe
Hi, I would like to know how is the preferred way to detect that a stanza could not be sent in Strophe.JS.

I execute following code:

connection.send(msg);

Is there a synchronic or asynchronic way to determine if the message was effectively sent?
Reply all
Reply to author
Forward
0 new messages