Answer the question
In order to leave comments, you need to log in
How to send a message using faye to all users?
Before reloading the site software, I would like to send messages to all users who work with the site that the system will now be restarted. Now the file is configured, I can send arbitrary messages to certain users. And what about immediately to everyone who can hear, but not to the entire crowd of site users who are currently offline? Is it really possible to do this?
Answer the question
In order to leave comments, you need to log in
curl -X POST -d 'message={\"channel\": \"/reboot\", \"data\": {\"msg\": \"System reboot.\"}}' localhost:9294/ faye
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question