Skip to content

Conversation

@marijnvriens
Copy link

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

@ralphm
Copy link
Owner

ralphm commented Feb 27, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants