WebSocket

WebSocket transport for XMPP client

Included and enabled in @xmpp/client.

Supports Node.js and browsers.

Install

npm install @xmpp/plugins

Usage

client.plugin(require('@xmpp/plugins/websocket'))
client.start('ws://localhost:5280/xmpp-websocket')

References

RFC 7395 XMPP Subprotocol for WebSocket