Describe ping
[?]
Dec 9, 2020, 6:59 PM
FZBPGF6XQGXWVJDK6QSBIUE4D3ZJVD2P5JJMEEQB3PHIAPV7DUPACDependencies
- [2]
3RMEABMUPrepare to add HTTP API to ping cutom jids - [3]
TGO4TIWUFix README - [4]
727YJ2SLSend message and presence to MUC - [5]
UL67RM6XRe-implement sending message
Change contents
- replacement in src/xmpp/xmpp_connection.rs at line 114
struct PingIqHandler {}struct PingIqHandler {ignorable: bool,} - replacement in src/xmpp/xmpp_connection.rs at line 133
falseself.ignorable - replacement in src/xmpp/xmpp_connection.rs at line 137
falseself.ignorable - edit in src/xmpp/xmpp_connection.rs at line 880
let ignorable = opt_xmpp_to.is_some(); - replacement in src/xmpp/xmpp_connection.rs at line 895
.insert(id_ping, IqWait::new(30, PingIqHandler {}));.insert(id_ping, IqWait::new(30, PingIqHandler { ignorable })); - edit in README.md at line 31
Sends ping to any JID. - edit in README.md at line 46
```### Sending pings```curl http://localhost:8083/ping -H "X-XMPP-To: some@domain.org"