wokkel icon indicating copy to clipboard operation
wokkel copied to clipboard

Support for Client to Server pings

Open marijnvriens opened this issue 7 years ago • 1 comments

XEP-0199 describes client to server pings. In this pull request client support for these types of pings is added.

Additionally the ping() method now has an optional timeout parameter. Pings that have not been responded in timeout time will call the errback on the deferred.

REF: https://xmpp.org/extensions/xep-0199.html#c2s

marijnvriens avatar Jun 07 '17 20:06 marijnvriens

This looks good. but the added timeout parameter is not tested.

I think eventually this should work with the Request class instead of the IQ one, but not in this change.

ralphm avatar Feb 27 '18 10:02 ralphm