mirror of https://github.com/msantos/xmppipe
ping: install a pong handler
Respond to server pings: https://xmpp.org/extensions/xep-0199.html#s2c ``` xmpp DEBUG RECV: <iq id="rr-1694698253331-17375542133555098656-wf3J7kbG6j8Ft5Vx0cMY99txsW8=-55238004" type="get" to="msantos@example.com/110052433108464573191602" from="example.com"><ping xmlns="urn:xmpp:ping"/></iq> conn DEBUG SENT: <iq id="rr-1694698253331-17375542133555098656-wf3J7kbG6j8Ft5Vx0cMY99txsW8=-55238004" to="example.com" type="result" from="msantos@example.com/110052433108464573191602"/> ``` Thanks @jessiehowell ! Fixes https://github.com/msantos/xmppipe/issues/9master 0.15.0
parent
78807f1b15
commit
4d79bddf56
Loading…
Reference in New Issue