add a ping plugin
This is a demo of the simplest iq-based protocol. When an iq is received containing a payload qualified by this namespace, an empty result iq is sent.
This commit is contained in:
parent
9d57e1a63b
commit
40d01a729f
4 changed files with 73 additions and 0 deletions
|
|
@ -6,3 +6,4 @@ pub const TLS: &'static str = "urn:ietf:params:xml:ns:xmpp-tls";
|
|||
pub const SASL: &'static str = "urn:ietf:params:xml:ns:xmpp-sasl";
|
||||
pub const BIND: &'static str = "urn:ietf:params:xml:ns:xmpp-bind";
|
||||
pub const STANZAS: &'static str = "urn:ietf:params:xml:ns:xmpp-stanzas";
|
||||
pub const PING: &'static str = "urn:xmpp:ping";
|
||||
|
|
|
|||
Loading…
Reference in a new issue