Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

commented the code

  • Loading branch information...
commit 5804aab2c04d17ca7acc64510550cdd724684a0f 1 parent be17c45
Eelco authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 lib/boshclient.js
View
10 lib/boshclient.js
@@ -43,11 +43,11 @@ var STATE_FIRST = 0,
STATE_TERM = 7,
STATE_OVER = 8;
-/**
- * jid: jid of the user.
- * password: password of the user.
- * bosh: string that contains the URL of the bosh server: http://www.example.com/http-bind/
- * (optional) route: the XMPP server where the BOSH server should route the XMPP to.
+/*
+ jid : [String] jabber id of user (e.g. 'user@example.com/office')
+ password : [String] password
+ bosh : [String] url of the bosh-server (e.g. 'http://localhost:5280/http-bind/')
+ route : [String] (optional) route attribute [if used] for connecting to xmpp server
*/
function nxbClient(jid, password, bosh, route)
{
Please sign in to comment.
Something went wrong with that request. Please try again.