invisibleroads / invisibleroads/socketIO-client
what to do if connection is rejected
Open
- Dominant language
- Python
- Stars
- 441
- Forks
- 204
- PR merge metrics
- No merged PRs in 30d
Description
I tried to use this client to connect to a flask-socketio server.
On the server side, I deliberately rejected the connection by returning `False` from the `@socketio.on('connect')` handler.
Then the client will block at this line and repeatedly request for new connection
socketIO = SocketIO('localhost', 8000, LoggingNamespace)
Is there any event like `connection_rejected`?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.