https://github.com/strophe/strophejs-plugin-caps
https://github.com/strophe/strophejs-plugin-caps
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/strophe/strophejs-plugin-caps
- Owner: strophe
- License: mit
- Created: 2017-01-25T13:41:56.000Z (over 9 years ago)
- Default Branch: caps
- Last Pushed: 2024-09-26T21:28:13.000Z (over 1 year ago)
- Last Synced: 2025-03-25T21:51:17.964Z (about 1 year ago)
- Language: JavaScript
- Size: 41 KB
- Stars: 1
- Watchers: 13
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# strophe.caps.js
Plugin for [strophe.js](https://www.npmjs.com/package/strophe.js) to provide XMPP Entity Capabilities ([XEP-0115]( http://xmpp.org/extensions/xep-0115.html)).
## Usage
### Adding features
connection.caps.add( "myfeature" );
### Removing features
connection.caps.remove( "myfeature" );
### Sending presence
conncection.caps.pres( attrs );
See [strophe.disco.js](https://github.com/strophe/strophejs-plugin-disco) for more info.
## Authors
- Markus Kohlhase
- [Michael Weibel](http://github.com/mweibel)
## 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.