-
Hi, client._reconnectionToken on server side is not getting updated on reconnect.
When getting It from this.clients then it is fine.
|
Beta Was this translation helpful? Give feedback.
Answered by
endel
Jun 27, 2023
Replies: 1 comment
-
Hi @zack1991, the If you really need to use it, you can get it from the newly connected client: const reconnectedClient = await reconnection;
console.log("new token: ", reconnectedClient._reconnectionToken);
console.log("previous token: ", client._reconnectionToken); I hope this helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
endel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @zack1991, the
client._reconnectionToken
is a private value for internal usage only.If you really need to use it, you can get it from the newly connected client:
I hope this helps!