wss.clients.length always returns undefined even if the clientTracking option is set to true

Created on 14 Feb 2017  路  2Comments  路  Source: websockets/ws

Hi, from [email protected] on, wss.clients.length always returns undefined even if the clientTracking option is set to true.

Most helpful comment

No, not everyone tracks release notes. So this question was perfectly legit and helped me as well.

All 2 comments

I wonder if people read the release notes. clients is no longer an array but a set. You should use Set.prototype.size.

No, not everyone tracks release notes. So this question was perfectly legit and helped me as well.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

HanHtoonAung picture HanHtoonAung  路  3Comments

nodesocket picture nodesocket  路  4Comments

cmnstmntmn picture cmnstmntmn  路  4Comments

pmcalabrese picture pmcalabrese  路  4Comments

robertmylne picture robertmylne  路  3Comments