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
 ATTACHED, Strophe.Status
 attrs, Strophe.Builder
 AUTH, Strophe.NS
 authcid, Strophe.Connection
 authenticate, Strophe.Connection
 AUTHENTICATING, Strophe.Status
 AUTHFAIL, Strophe.Status
 authzid, Strophe.Connection
B
 BIND, Strophe.NS
 BOSH, Strophe.NS
 bosh.js
 Builder, Strophe.Builder.Strophe
C
 c, Strophe.Builder
 CLIENT, Strophe.NS
 cnode, Strophe.Builder
 connect, Strophe.Connection
 CONNECTED, Strophe.Status
 CONNECTING, Strophe.Status
 Connection, Strophe.Connection.Strophe
 Connection Status Constants, Strophe
 CONNFAIL, Strophe.Status
 CONNTIMEOUT, Strophe.Status
 Constants
 copyElement, Strophe
 createHtml, Strophe
D
 debug, Strophe
 DEBUG, Strophe.LogLevel
 deleteHandler, Strophe.Connection
 deleteTimedHandler, Strophe.Connection
 DISCO_INFO, Strophe.NS
 DISCO_ITEMS, Strophe.NS
 disconnect, Strophe.Connection
 DISCONNECTED, Strophe.Status
 DISCONNECTING, Strophe.Status
E
 error, Strophe
 ERROR
 escapeNode, Strophe
F
 fatal, Strophe
 FATAL, Strophe.LogLevel
 Files
 flush, Strophe.Connection
 forEachChild, Strophe
 Functions
G
 getBareJidFromJid, Strophe
 getDomainFromJid, Strophe
 getNodeFromJid, Strophe
 getResourceFromJid, Strophe
 getText, Strophe
 getUniqueId, Strophe.Connection
H
 h, Strophe.Builder
 HTTPBIND, Strophe.NS
I
 info, Strophe
 INFO, Strophe.LogLevel
 isTagEqual, Strophe
L
 log, Strophe
 Log Level Constants, Strophe
M
 MUC, Strophe.NS
N
 nextValidRid, Strophe.Connection
P
 pass, Strophe.Connection
 pause, Strophe.Connection
 priority, Strophe.SASLMechanism
 PROFILE, Strophe.NS
R
 rawInput, Strophe.Connection
 rawOutput, Strophe.Connection
 reset, Strophe.Connection
 restore, Strophe.Connection
 resume, Strophe.Connection
 ROSTER, Strophe.NS
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.
The connection has been attached
attrs: function (moreattrs)
Add or modify attributes of the current element.
Legacy authentication namespace.
this.authcid
Authentication identity (User name).
authenticate: function (matched)
Set up authentication
The connection is authenticating
The authentication attempt failed
this.authzid
Authorization identity.
XMPP Binding namespace from RFC 3920.
BOSH namespace from XEP 206.
A JavaScript library to enable BOSH in Strophejs.
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.
Main XMPP client namespace.
cnode: function (elem)
Add a child to the current element and make it the new current element.
connect: function (jid,
pass,
callback,
wait,
hold,
route,
authcid)
Starts the connection process.
The connection has succeeded
The connection is currently being made
Strophe.Connection = function (service,
options)
Create and initialize a Strophe.Connection object.
Connection status constants for use by the connection handler callback.
The connection attempt failed
The connection has timed out
copyElement: function (elem)
Copy an XML DOM element.
createHtml: function (elem)
Copy an HTML DOM element into an XML DOM.
debug: function(msg)
Log a message at the Strophe.LogLevel.DEBUG level.
Debug output
deleteHandler: function (handRef)
Delete a stanza handler for a connection.
deleteTimedHandler: function (handRef)
Delete a timed handler for a connection.
Service discovery info namespace from XEP 30.
Service discovery items namespace from XEP 30.
disconnect: function (reason)
Start the graceful disconnection process.
The connection has been terminated
The connection is currently being terminated
error: function (msg)
Log a message at the Strophe.LogLevel.ERROR level.
Errors
An error has occurred
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.
Fatal errors
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.
h: function (html)
Replace current element contents with the HTML passed in.
HTTP BIND namespace from XEP 124.
info: function (msg)
Log a message at the Strophe.LogLevel.INFO level.
Informational output
isTagEqual: function (el,
name)
Compare an element’s tag name with a string.
User overrideable logging function.
Logging level indicators.
Multi-User Chat namespace from XEP 45.
User overrideable function that receives the new valid rid.
this.pass
Authentication identity (User password).
pause: function ()
Pause the request manager.
this.priority
Determines which SASLMechanism is chosen for authentication (Higher is better).
Profile namespace.
User overrideable function that receives raw data coming into the connection.
User overrideable function that receives raw data sent to the connection.
reset: function ()
Reset the connection.
restore: function (jid,
callback,
wait,
hold,
wind)
Attempt to restore a cached BOSH session.
resume: function ()
Resume the request manager.
Roster operations namespace.
Close