Skip to content

strophe/strophejs-plugin-caps

Repository files navigation

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.