Documentation Errors etc.

#1

On http://autobahn.ws/js/reference#ab_connect the example shows new ab.Session() not ab.connect(). Further ab.connect() does not use ‘this’ and therefore won’t return ‘sess’.

On http://autobahn.ws/js/reference#ab_Session the example shows {‘maxRetries’: 60, ‘retryDelay’: 2000} however from what I can see in the code these are only used with ab.connect(). Further there is no documentation on what options are available for ab.Session().

On http://autobahn.ws/js/reference#Session_sessionid the example: var mySessionId = sess.sessionId(); is incorrect and should be sessionid(). No capital I.

Hope that’s helpful.

Neville

0 Likes

#2

Hi Neville,

Thanks! Just fixed above issues.

Nevertheless: the docs are still lacking .. contributions are welcome!

The whole website is on Github (and CC licensed):

https://github.com/tavendo/AutobahnWebsite

/Tobias

···

Am 05.07.2013 02:29, schrieb Neville Franks:

On http://autobahn.ws/js/reference#ab_connect the example shows new
ab.Session() not ab.connect(). Further ab.connect() does not use 'this'
and therefore won't return 'sess'.

On http://autobahn.ws/js/reference#ab_Session the example
shows {'maxRetries': 60, 'retryDelay': 2000} however from what I can see
in the code these are only used with ab.connect(). Further there is no
documentation on what options are available for ab.Session().

On http://autobahn.ws/js/reference#Session_sessionid the example: var
mySessionId = sess.sessionId(); is incorrect and should be sessionid().
No capital I.

Hope that's helpful.

0 Likes