updateSocketIds method

void updateSocketIds()

Update socket.id of all sockets

@api private

Implementation

void updateSocketIds() {
  for (var nsp in nsps.keys) {
    nsps[nsp]!.id = generateId(nsp);
  }
}