resolve

Auto resolve domain endpoints for @xmpp/client-core

Supports Node.js and browsers.

Install

npm install @xmpp/plugins

Usage

client.plugin(require('@xmpp/plugins/resolve'))
client.start('example.com')

resolve uses DNS records (Node.js only) and Web Host Metadata to automatically find a connection endpoint for a domain.

References