Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add session documentation

  • Loading branch information...
commit d49a08d5d2a05cf0183846d9e37c625da044c574 1 parent 90a2d95
@ericz ericz authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/user.js
View
3  lib/user.js
@@ -46,8 +46,9 @@ exports.initialize = function (nowjs) {
* @property {String} clientId The user's ID, as created by
* Socket.IO.
- * @property {String} cookie The user's cookie, as determined by
+ * @property {Object} cookie The user's cookie, as determined by
* Socket.IO.
+ * @property {Object} session The user's session, as created by express/connect. Value is undefined if no session object exists in the http server.
*/
this.user = {
clientId: socket.id,
Please sign in to comment.
Something went wrong with that request. Please try again.