Google Wave中的实时实时打字工作如何? [英] How does the live, real-time typing work in Google Wave?

查看:112
本文介绍了Google Wave中的实时实时打字工作如何?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我确信Wave不会每毫秒轮询一次服务器以查明其他用户是否输入了某些内容......因此,如何查看其他用户在输入内容时输入的内容?并且不占用带宽。

I'm sure Wave doesn't poll the server every millisecond to find out if the other user has typed something... so how can I see what the other person is typing as they type? And without hogging the bandwidth.

推荐答案

持久HTTP, Comet

保持HTTP连接处于活动状态并在输入字符时发送字符

Keep your HTTP connection alive and send characters as they are typed

* 2014年编辑:另请参阅WebSocket和 HTTP / 1.1升级标题。浏览器在2010年左右开始实施,因此我将其添加到原始答案中。

*Edit in 2014: also, take a look at WebSocket and HTTP/1.1 Upgrade header. Browsers started implementing this around 2010, so I'm adding this to original answer.

这篇关于Google Wave中的实时实时打字工作如何?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆