Skip to content

Files

Latest commit

7afd300 · Feb 29, 2012

History

History
This branch is 197 commits behind strophe/strophejs-plugins:master.

private

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Apr 26, 2011
Aug 12, 2011

Strophe.private.js

Strophe.private.js is a plugin for the XMPP library Strophe.js to provide XMPP Private XML Storage ( XEP-0049 ).

Strophe.private.js is licensed under the MIT license.

Usage

After you connected successfully to the XMPP server you can save your data:

connection.private.set( myTagName, myNamespace, myData, success, error );

Receive your data by specifing the tag name and the namespace:

conncection.private.get( myTagName, myNamespace, success, error );