Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
$#!
 $build
 $iq
 $msg
 $pres
A
 addConnectionPlugin, Strophe
 addHandler, Strophe.Connection
 addNamespace, Strophe
 addTimedHandler, Strophe.Connection
 attach, Strophe.Connection
 attrs, Strophe.Builder
B
 Builder, Strophe.Builder.Strophe
C
 c, Strophe.Builder
 cnode, Strophe.Builder
 connect, Strophe.Connection
 Connection, Strophe.Connection.Strophe
 copyElement, Strophe
D
 debug, Strophe
 deleteHandler, Strophe.Connection
 deleteTimedHandler, Strophe.Connection
 disconnect, Strophe.Connection
E
 error, Strophe
 escapeNode, Strophe
F
 fatal, Strophe
 flush, Strophe.Connection
 forEachChild, Strophe
G
 getBareJidFromJid, Strophe
 getDomainFromJid, Strophe
 getNodeFromJid, Strophe
 getResourceFromJid, Strophe
 getText, Strophe
 getUniqueId, Strophe.Connection
I
 info, Strophe
 isTagEqual, Strophe
L
 log, Strophe
P
 pause, Strophe.Connection
R
 rawInput, Strophe.Connection
 rawOutput, Strophe.Connection
 reset, Strophe.Connection
 resume, Strophe.Connection
S
 send, Strophe.Connection
 sendIQ, Strophe.Connection
 serialize, Strophe
T
 t, Strophe.Builder
 toString, Strophe.Builder
 tree, Strophe.Builder
U
 unescapeNode, Strophe
 up, Strophe.Builder
W
 warn, Strophe
function $build(name,
attrs)
Create a Strophe.Builder.
function $iq(attrs)
Create a Strophe.Builder with an iq/ element as the root.
function $msg(attrs)
Create a Strophe.Builder with a message/ element as the root.
function $pres(attrs)
Create a Strophe.Builder with a presence/ element as the root.
addConnectionPlugin: function (name,
ptype)
Extends the Strophe.Connection object with the given plugin.
addHandler: function (handler,
ns,
name,
type,
id,
from,
options)
Add a stanza handler for the connection.
addNamespace: function (name,
value)
This function is used to extend the current namespaces in Strophe.NS.
addTimedHandler: function (period,
handler)
Add a timed handler to the connection.
attach: function (jid,
sid,
rid,
callback,
wait,
hold,
wind)
Attach to an already created and authenticated BOSH session.
attrs: function (moreattrs)
Add or modify attributes of the current element.
Strophe.Builder = function (name,
attrs)
Create a Strophe.Builder object.
c: function (name,
attrs,
text)
Add a child to the current element and make it the new current element.
cnode: function (elem)
Add a child to the current element and make it the new current element.
connect: function (jid,
pass,
callback,
wait,
hold)
Starts the connection process.
Strophe.Connection = function (service)
Create and initialize a Strophe.Connection object.
copyElement: function (elem)
Copy an XML DOM element.
debug: function(msg)
Log a message at the Strophe.LogLevel.DEBUG level.
deleteHandler: function (handRef)
Delete a stanza handler for a connection.
deleteTimedHandler: function (handRef)
Delete a timed handler for a connection.
disconnect: function (reason)
Start the graceful disconnection process.
error: function (msg)
Log a message at the Strophe.LogLevel.ERROR level.
escapeNode: function (node)
Escape the node part (also called local part) of a JID.
fatal: function (msg)
Log a message at the Strophe.LogLevel.FATAL level.
flush: function ()
Immediately send any pending outgoing data.
forEachChild: function (elem,
elemName,
func)
Map a function over some or all child elements of a given element.
getBareJidFromJid: function (jid)
Get the bare JID from a JID String.
getDomainFromJid: function (jid)
Get the domain portion of a JID String.
getNodeFromJid: function (jid)
Get the node portion of a JID String.
getResourceFromJid: function (jid)
Get the resource portion of a JID String.
getText: function (elem)
Get the concatenation of all text children of an element.
getUniqueId: function (suffix)
Generate a unique ID for use in iq/ elements.
info: function (msg)
Log a message at the Strophe.LogLevel.INFO level.
isTagEqual: function (el,
name)
Compare an element’s tag name with a string.
log: function (level,
msg)
User overrideable logging function.
pause: function ()
Pause the request manager.
rawInput: function (data)
User overrideable function that receives raw data coming into the connection.
rawOutput: function (data)
User overrideable function that receives raw data sent to the connection.
reset: function ()
Reset the connection.
resume: function ()
Resume the request manager.
send: function (elem)
Send a stanza.
sendIQ: function(elem,
callback,
errback,
timeout)
Helper function to send IQ stanzas.
serialize: function (elem)
Render a DOM element and all descendants to a String.
t: function (text)
Add a child text element.
toString: function ()
Serialize the DOM tree to a String.
tree: function ()
Return the DOM tree.
unescapeNode: function (node)
Unescape a node part (also called local part) of a JID.
up: function ()
Make the current parent element the new current element.
warn: function (msg)
Log a message at the Strophe.LogLevel.WARN level.
Close