在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):ideawu/icomet开源软件地址(OpenSource Url):https://github.com/ideawu/icomet开源编程语言(OpenSource Language):C++ 95.0%开源软件介绍(OpenSource Introduction):icometA C1000K comet/push server built with libevent. iComet is powerfull, can be used as the messaging server of many applications, such as web chat, mobile application, desktop application etc. iComet provides a easy-to-use JavaScript library, with iComet js lib, you can build a web app that needs server-push feature very fast. Documentationhttps://github.com/ideawu/icomet/wiki iComet's role in web system and mobile systemThe work process of iComet in your systemCompile and RunCompile: wget --no-check-certificate https://github.com/ideawu/icomet/archive/master.zip
unzip master.zip
cd icomet-master/
make Start icomet server
Make a test via curl:
JavaScript Library Usagevar comet = new iComet({
channel: 'abc',
signUrl: 'http://127.0.0.1:8000/sign',
subUrl: 'http://127.0.0.1:8100/sub',
callback: function(content){
// on server push
alert(content);
}
}); Supported Platforms and Browsers
Java/Android APIRun the chat demo
Live demoThis live demo is based on https://github.com/ideawu/icomet-demos, which has buddy list, chat history, and other features. Live Demo: http://www.ideawu.com/icomet/chat.html Nginx + icometYou can integrate icomet with nginx. If you are running you website on port
Then you want to run icomet on the same server with port
Then, this url is used to subscribe to icomet channel xxx:
MiscUsers
QQ group
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论