Comments (3)
If the chat is between a single client and a server-controlled entity (i.e. your bot), you do not need to use rooms. The server can send a message directly to any client, by simply using the session id of the client as the room name. This is the request.sid
argument that you get when you are handling an event from the client. Typically people capture request.sid
in the connect
event handler and associate it with the user in a database.
from flask-socketio-chat.
Thanks! I'll give it a shot today. Consider this issue closed.
from flask-socketio-chat.
This issue will be automatically closed due to being inactive for more than six months. Seeing that I haven't responded to your last comment, it is quite possible that I have dropped the ball on this issue and I apologize about that. If that is the case, do not take the closing of the issue personally as it is an automated process doing it, just reopen it and I'll get back to you.
from flask-socketio-chat.
Related Issues (20)
- Trying to make a chatbot HOT 3
- Accessing to application context in a background task with Blueprints HOT 11
- Scaling with Redis HOT 1
- Server receives event correctly, but It doesn't execute method HOT 1
- Unicode message seems not work with SSL HOT 4
- Not working on Google chrome HOT 2
- Understanding the structure HOT 3
- Commands HOT 3
- Clean install virtualenv error HOT 2
- Making calls to external API with only 1 gunicorn worker HOT 12
- Flask-socketio nginx HOT 11
- socketio.run (app) vs app.run ()
- way to change the hosted socket HOT 2
- Add Password Support: HOT 1
- Flask-SocketIO-Chat with background event
- didn't work on localhost cuz of `https` missing from source HOT 4
- Socket Handlers not being Triggered Even after i've imported them HOT 13
- Example code with Auth key at the time of connect HOT 1
- python version HOT 2
- failed to install requirements on windows due to greenlet HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flask-socketio-chat.