UNPKG

@fnlb-project/stanza

Version:

Modern XMPP in the browser, with a JSON API

12 lines (11 loc) 492 B
// ==================================================================== // XEP-0199: XMPP Ping // -------------------------------------------------------------------- // Source: https://xmpp.org/extensions/xep-0199.html // Version: 2.0 (2009-06-03) // ==================================================================== import { childBoolean, extendIQ } from '../jxt'; import { NS_PING } from '../Namespaces'; export default extendIQ({ ping: childBoolean(NS_PING, 'ping') });