websocket

  • 网络双向通信;求转发到
websocketwebsocket
  1. Problems then arise when the client or the server starts sending the first WebSocket frame .

    而当客户端或服务器开始发送第一个WebSocket帧时问题就出现了。

  2. The network traffic is made up of WebSocket frames and not HTTP requests and responses .

    网络传输是由WebSocketframes构成的,而非HTTP请求与响应。

  3. It all comes down to understanding the end-to-end network topology you are deploying your WebSocket application in .

    所有都归结到要理解你所要部署WebSocket应用的端到端网络拓扑。

  4. Will proxy servers automatically kill WebSocket connections ?

    代理服务器是否会自动中断WebSocket连接?

  5. Therefore , a well-behaved transparent proxy server will cause the WebSocket upgrade handshake to fail almost immediately .

    因此,一个工作良好的透明代理服务器几乎会立刻引起WebSocekt升级握手失败。

  6. Unlike regular HTTP traffic , which uses a request / response protocol , WebSocket connections can remain open for a long time .

    跟常规的使用请求/响应协议的HTTP传输不一样,WebSocket连接可以长时间保持打开。

  7. Once established , WebSocket data frames can be sent back and forth between the client and the server in full-duplex mode .

    一旦连接建立,WebSocket数据帧就可以以全双工的模式在客户端和服务器之间来回传输。

  8. After those handshakes succeed , WebSocket traffic can start flowing unimpeded through the proxy server .

    这系列的握手成功后,WebSocket信息流就可以开始无阻碍的通过代理服务器了。

  9. If adopted , WebSocket will deprecate the HTTP long-polling mechanisms in use by developers today .

    如果采用,那么WebSocket将会代替目前开发者所使用的HTTP长轮询机制。

  10. It introduces the WebSocket interface and defines a full-duplex communication channel that operates through a single socket over the Web .

    它引入了WebSocket接口并且定义了一个全双工的通信通道,通过一个单一的套接字在Web上进行操作。

  11. This means that the load-balancing router stays out of the way of the actual WebSocket traffic , thus reducing latency .

    这意味着负载均衡路由器不介入真正的WebSocket流量,由此减少了延迟。

  12. In the future , however , proxy servers will likely become Web Sockets-aware and able to properly handle and forward WebSocket traffic .

    然而,未来,代理服务器将会是WebSocket可知的,并且能够合理的处理与转发WebSocket信息流。

  13. A WebSocket server that is used in such a scenario must be added to the white list of servers for connections to be successful .

    在这种场景中使用的WebSocket服务器必须被加入到服务器白名单中,连接才有可能成功。

  14. Unencrypted WebSocket Connections and Transparent Proxy Servers

    未加密的WebSocket连接与透明代理服务器

  15. The iPad originally shipped with a websocket implementation , then it was removed , and then it was added back .

    iPad最初带有一个WebSockets实现,然后又移除了,后来又加回来了。

  16. CometD supports all the features discussed in this blog and makes them available transparently to browsers with or without websocket support .

    CometD支持这篇博客所谈到的所有特性,并让它们对浏览器完全透明,无论是否支持WebSocket都可以做到。

  17. Unfortunately the simple chat example does not implement this semantic because the websocket protocol allows for an idle timeout of the connection .

    不幸的是,即便是这么简单的用例都无法通过WebSocket实现,因为在该协议中,连接有一个闲置超时。

  18. When the explicit proxy server allows the CONNECT method , the TLS handshake is sent , followed by the WebSocket connection upgrade handshake .

    当显式的代理服务器允许CONNECT方法时,TLS握手被发送出去,后面紧跟着WebSocket连接升级握手。

  19. It is even possible for proxy servers to have their own explicit proxy servers , increasing the number of hops the WebSocket traffic has to make .

    代理服务器甚至还有可能有它们自己的显式的代理服务器,这又增加了WebSocket传输需要的中继数。

  20. In the future , WebSocket gateways and servers may even be able to dynamically upgrade to Web Sockets Secure if an uncooperative proxy server is detected .

    未来,WebSocket网关和服务器能够支持在探测到不合作的代理服务器时,动态地升级到WebSocket安全。

  21. When a proxy server forwards a request to the ( WebSocket ) server , it is expected to strip off certain headers , including the Connection header .

    当代理服务器将请求转发到(WebSocket)服务器时,将会被剥去一些特定的消息头,包括Connection消息头。

  22. In order to maintain presence , the chat application can send keep-alive messages on the websocket to prevent it being closed due to an idle timeout .

    为了保持存在的状态,聊天应用要发送“连接保持(KeepAlive)”的消息给WebSocket,来避免该连接因为闲置超时而关闭。

  23. We are hopeful that websocket usage will be able to give us even better throughput and latency for cometd than the already impressive results achieved with long polling .

    我们真心希望WebSocket可以给我们更大的吞吐量和更低的延迟,比现在已经让人印象深刻的长轮询要更好。

  24. The problem lies not with web browsers , nor truly WebSocket , but with poorly implemented caching proxies which sit on most corporate and enterprise firewalls .

    问题并不是出现在Web浏览器端,也不是WebSocket本身的问题,而是大多数公司与企业防火墙缓存代理的糟糕实现。

  25. While this is arguably a proxy server bug , the authors of the paper are advocating that the websocket should no longer use this mechanism and instead use an alternative .

    虽说这可能是代理服务器的Bug,但文章作者还是建议Websocket不应该再使用这种机制了,应该使用其他方案。

  26. WebSocket is a draft protocol intending to define a bi-directional full-duplex communication protocol to allow web browsers and web servers to communicate without the HTTP protocol overhead .

    WebSocket是个草案协议,用于定义双向全工的通信协议,以便让Web浏览器和Web服务器能够无需通过HTTP协议就可以实现相互间的通信。

  27. The specification defines a ws : / / and a wss : / / scheme to indicate WebSocket and WebSocket Secure connections , respectively .

    该规范定义了ws://以及wss://模式来分别表示WebSocket和安全WebSocket连接。

  28. Therefore , it is always best to use Web Sockets Secure with TLS encryption to connect to a WebSocket server , unless you 're absolutely certain there are no intermediaries .

    因此,始终与TLS加密一起使用WebSockets安全来连接到WebSocket服务器是最佳的做法,除非你非常确实不会存在中间服务器。

  29. Kaazing WebSocket Gateway is a highly optimized , proxy-aware WebSocket gateway , which provides native WebSocket support as well as Web Socket emulation for older browsers .

    kaazingWebSocket网关是高度优化的,代理感知的WebSocket网关,提供原生的WebSocket支持和针对上一代浏览器的WebSocket模拟功能。

  30. General consensus is that eventual adoption of WebSocket in inevitable yet in an altered form to alleviate the current security concerns , but some feel XMPP sufficiently solves the same problem space .

    人们所达成的共识是最终采用WebSocket可以在一定程度上减少目前的安全问题,但也有一些人认为XMPP完全可以解决这些问题。