strophejs-plugin-caps

A strophe.js plugin for XEP-0115 XMPP Entity Capabilities

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
strophejs-plugin-caps
101.1.32 years ago6 years agoMinified + gzip package size for strophejs-plugin-caps in KB

Readme

strophe.caps.js
Plugin for strophe.js to provide XMPP Entity Capabilities (XEP-0115).

Usage

Adding features

connection.caps.add( "myfeature" );

Removing features

connection.caps.remove( "myfeature" );

Sending presence

conncection.caps.pres( attrs );
See strophe.disco.js for more info.

Authors

Legacy

An older version of this plugin is included in this package /strophe.CAPS.js, build from CoffeScript. This is no longer maintained and will likely be removed in the future.