Skip to content

Commit d48f848

Browse files
kapouerdarrachequesne
authored andcommitted
[docs] Comment connected socket availability for adapters (socketio#2081)
1 parent 57b3863 commit d48f848

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/socket.js

+2
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,8 @@ Socket.prototype.leaveAll = function(){
283283
/**
284284
* Called by `Namespace` upon successful
285285
* middleware execution (ie: authorization).
286+
* Socket is added to namespace array before
287+
* call to join, so adapters can access it.
286288
*
287289
* @api private
288290
*/

0 commit comments

Comments
 (0)