FZBPGF6XQGXWVJDK6QSBIUE4D3ZJVD2P5JJMEEQB3PHIAPV7DUPAC
3RMEABMUIPT6DGE6RU6NI7LJ62AUQYKIVU4SA4ZL2P3L4CSGIKEAC
TGO4TIWURN54UFBLMUX4EZTZBG3TE5F4VRL56BTLOINCKJEUDD7QC
struct PingIqHandler {}
struct PingIqHandler { ignorable: bool,}
struct PingIqHandler {
ignorable: bool,
}
false
self.ignorable
let ignorable = opt_xmpp_to.is_some();
.insert(id_ping, IqWait::new(30, PingIqHandler {}));
.insert(id_ping, IqWait::new(30, PingIqHandler { ignorable }));
Sends ping to any JID.
```### Sending pings```curl http://localhost:8083/ping -H "X-XMPP-To: some@domain.org"
```
### Sending pings
curl http://localhost:8083/ping -H "X-XMPP-To: some@domain.org"