Skip to content

Latest commit

 

History

History
 
 

private

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

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 );