告诉我一些 Http 流教程或示例

发布于 2024-08-26 05:57:55 字数 118 浏览 1 评论 0原文

您能告诉我一些 http-streaming 教程或示例(Gmail 也使用)吗?

我想为大学项目创建一个简单的聊天。

注意:我说的是 Http 流而不是长轮询。

谢谢 ;)

Could you tell me some http-streaming tutorial or example ( used also by Gmail ) ?

I want to create a simple chat for college project.

Attention: I am talking about Http-streaming and NOT long-polling.

Thanks ;)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

给不了的爱 2024-09-02 05:57:55

请查看此处。关于彗星的一些很酷的介绍。还提到了 Jetty 及其免费聊天客户端,但它们是 Java 语言而不是 PHP 语言。如果我发现一些对 PHP 有用的东西,我会继续寻找并发布。仅供参考,jquery 有一个 comet 插件,但我还没有尝试过。

Check here. Some cool intro about Comet. There is also a mention for Jetty and its free chat client but they are in Java not PHP. Will keep looking and post if I find something useful with PHP. Just FYI, jquery has a plugin for comet but I haven't tried it yet.

宣告ˉ结束 2024-09-02 05:57:55

“Comet”只是一个涵盖 HTTP 流的总称。

如需一些很好的示例,您可以查看我们的 WebSync 演示

有关使用它的一些教程,您可以查看教程

"Comet" is just an umbrella term that includes HTTP streaming.

For some good examples, you can check out our WebSync demos.

For some tutorials on using it, you can check out the tutorials.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文