Optimal way to check if client is connected before emitting, due to bad namespace error? #1402
Unanswered
Mathiaszero
asked this question in
Q&A
Replies: 1 comment
-
If a namespace is connected then |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What's the best way to check that the client is connected for the following situation? I get
socketio.exceptions.BadNamespaceError: / is not a connected namespace.
which is probably due to emitting when the client is not connected to the server.Beta Was this translation helpful? Give feedback.
All reactions