SocketCluster / socketcluster-client

JavaScript client for SocketCluster
MIT License
292 stars 91 forks source link

Calling `authenticate` before `connect` should wait for connection #12

Closed msuntharesan closed 9 years ago

msuntharesan commented 9 years ago

When calling authenticate before connect should wait for connection to be established and use the token provided by the function.

jondubois commented 9 years ago

@vanthiyathevan Yes, that's more consistent. Done (v2.2.38) - http://npmjs.org/socketcluster-client