strophe.rsm.js
Plugin for strophe.js providing Result Set Management (RSM) XEP-0059.
Install
npm install strophejs-plugin-rsm
ES6
;
Browser
Usage
Make sure Strophe is installed and the plugin is imported into your app. With RSM is available to do paged stanza requests like so:
; var connection = 'wss://...'; var options = before: '' isGroup: false max: 50; var messages = ; var queryid = connection;var stanza = ; var node = options; stanza; connection; connection;