Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

icomet如何群发消息(推送给所有人) #62

Open
sylnkk opened this issue Jul 23, 2015 · 1 comment
Open

icomet如何群发消息(推送给所有人) #62

sylnkk opened this issue Jul 23, 2015 · 1 comment

Comments

@sylnkk
Copy link

sylnkk commented Jul 23, 2015

icomet如何群发消息(推送给所有人)
我现在发送消息是用php用curl来推送消息的
地址:http://127.0.0.1:8000/push?cname=".$cname."&content=".$content
请问icomet除了cname,content还有其他参数设置是可以推送给所有人的么,还是说要另外创建一条长连接,用户监听自己id的cname和all的cname,然后all就是推送给所有人??
请问有无更好的解决方案,不想挂两条长连接,怕占用太多进程。。。

@ideawu
Copy link
Owner

ideawu commented Jul 23, 2015

有 broadcast 接口, 我刚更新了文档 https://github.com/ideawu/icomet/wiki#broadcast

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants