Skip to content

Instantly share code, notes, and snippets.

Avatar

Alex Arnell voidlock

View GitHub Profile
@defsprite
defsprite / strophe.websocket.js
Created Mar 7, 2011 — forked from processone/strophe.websocket.js
a (w)hacky strophe websockets connection implementation
View strophe.websocket.js
/** Class: Strophe.WebSocket
* XMPP Connection manager.
*
* Thie class is the main part of Strophe. It manages a BOSH connection
* to an XMPP server and dispatches events to the user callbacks as
* data arrives. It supports SASL PLAIN, SASL DIGEST-MD5, and legacy
* authentication.
*
* After creating a Strophe.Connection object, the user will typically
* call connect() with a user supplied callback to handle connection level
@processone
processone / strophe.websocket.js
Created Dec 13, 2010
Websocket support in strophe.js
View strophe.websocket.js
/** Class: Strophe.WebSocket
* XMPP Connection manager.
*
* Thie class is the main part of Strophe. It manages a BOSH connection
* to an XMPP server and dispatches events to the user callbacks as
* data arrives. It supports SASL PLAIN, SASL DIGEST-MD5, and legacy
* authentication.
*
* After creating a Strophe.Connection object, the user will typically
* call connect() with a user supplied callback to handle connection level
You can’t perform that action at this time.