Python + comet + web (chat) - I need working(!) li

2020-08-01 12:59发布

I need working (cross-browser) project (library/server) to build web-chat in comet technology. There are: orbited, orbited2, hookbox, but it seems that are no longer developed (also projects sites are down) and have a lot of bugs.

Any ideas?

Thanks for help!

标签: python comet
2条回答
该账号已被封号
2楼-- · 2020-08-01 13:21

Have a look at Tornado a simple non-blocking webserver written in Python by the facebook team.

The comet behavior can be done with tornadio which makes possible to use socket.io javascript lib with tornado.

There is a chat example in tornadio that may look like what you are looking for. I 've tested it successfully with IE6, Firefox, Chrome and Opera.

I hope it helps

查看更多
smile是对你的礼貌
3楼-- · 2020-08-01 13:23

Shaveet is a zero-config JSONP/CORS long-polling(AKA comet) server, that has chat apps as examples.

查看更多
登录 后发表回答