We use Socket.IO, which abstracts over websockets and provides fallbacks to support websocket-style communication for browsers that don’t have websockets yet.
我们使用Socket.IO,它对WebSocket进行了抽象,还对尚没有WebSocket的浏览器提供了应变方案,以支持WebSocket式的通信。
Kaazing Websocket Gateway and Load-Balancing routers.
kaazingWebsocket网关与负载均衡路由器。
Encrypted WebSocket Connections and Explicit Proxy servers.
加密的WebSocket连接与显式的代理服务器。
Will proxy servers automatically kill WebSocket connections?
代理服务器是否会自动中断WebSocket连接?
Unencrypted WebSocket Connections and Explicit Proxy servers.
未加密WebSocket连接与显式代理服务器。
Encrypted WebSocket Connections and Transparent Proxy servers.
加密的WebSocket连接与透明的代理服务器。
Unencrypted WebSocket Connections and Transparent Proxy servers.
未加密的WebSocket连接与透明代理服务器。
The network traffic is made up of WebSocket frames and not HTTP requests and responses.
网络传输是由WebSocket frames构成的,而非HTTP请求与响应。
Future releases will also include the WebSocket protocol and a Comet protocol implementation.
将来的版本还会包含对WebSocket协议和Comet协议的实现。
After those handshakes succeed, WebSocket traffic can start flowing unimpeded through the proxy server.
这系列的握手成功后,WebSocket信息流就可以开始无阻碍的通过代理服务器了。
This means that the load-balancing router stays out of the way of the actual WebSocket traffic, thus reducing latency.
这意味着负载均衡路由器不介入真正的WebSocket流量,由此减少了延迟。
Once established, WebSocket data frames can be sent back and forth between the client and the server in full-duplex mode.
一旦连接建立,WebSocket数据帧就可以以全双工的模式在客户端和服务器之间来回传输。
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服务器必须被加入到服务器白名单中,连接才有可能成功。
Figure 2 shows the decisions that are made during the setup of a WebSocket connection between the browser and the WebSocket server.
图2展示了在浏览器与WebSocket服务器之间建立WebSocket连接过程中所做的决定。
It introduces the WebSocket interface and defines a full-duplex communication channel that operates through a single socket over the Web.
它引入了WebSocket接口并且定义了一个全双工的通信通道,通过一个单一的套接字在Web上进行操作。
When the explicit proxy server allows the connect method, the TLS handshake is sent, followed by the WebSocket connection upgrade handshake.
当显式的代理服务器允许CONNECT方法时,TLS握手被发送出去,后面紧跟着WebSocket连接升级握手。
Apple has even implemented WebSocket in the latest release of iOS 4.2, while developers must wait for support in Windows Phone 7 and Android.
Apple甚至在最新发布的iOS 4.2中实现了WebSocket,而开发者则必须得等待WindowsPhone7和Android的支持。
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传输需要的中继数。
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安全。
NOTE: This makes it harder for a script to perform a denial-of - service attack by just opening a large number of WebSocket connections to a remote host.
注意:这使得通过一个脚本向远程服务器打开大量的连接的方式进行“拒绝服务攻击”更困难。
Figure 1 shows a simplified network topology in which clients use a browser to access back-end TCP-based services using a full-duplex HTML5 WebSocket connection.
图1展示了一个简化的网络拓扑,客户端使用浏览器来访问后端基于TCP的服务,这里使用了全双工的HTML5WebSocket连接。
To establish a WebSocket connection, the client and server upgrade from the HTTP protocol to the Web Socket protocol during an initial handshake, as shown in Example 1.
要建立一个WebSocket连接,客户端和服务器在初次握手的时候从HTTP协议提升到WebSocket协议,如例1所展示的。
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模拟功能。
If a browser is configured to use an explicit proxy server then it will first issue an HTTP connect method to that proxy server while establishing the WebSocket connection.
如果一个浏览器被配置为使用显式的代理服务器,那么在建立WebSocket连接时它首先会向该代理服务器发出一个HTTPCONNECT方法。
If a browser is configured to use an explicit proxy server then it will first issue the HTTP connect method to that proxy server while establishing the WebSocket connection.
如果一个浏览器被配置为使用显式的代理服务器,那么在建立WebSocket连接时它首先向代理服务器发出HTTPCONNECT方法。
What this blog illustrates is that there is no silver bullet and that WebSocket will not solve many of the complexities that need to be addressed when developing robust comet web applications.
这篇博客说明了WebSocket不能解决很多在开发健壮Comet网络应用时遇到的复杂问题,也就是说没有银弹。
For this reason, services running on Kaazing WebSocket Gateway support peer load balancer awareness, which allows the load-balancing router to be configured as a peer next to WebSocket servers.
出于这个目的,运行于KaazingWebSocket网关的服务支持伙伴负载均衡器感知,这允许负载均衡路由器被配置为WebSocket服务器的伙伴。
Heavy on HTML5, the new browser allows full-screen playback and closed captions; geolocation, sectioning elements, draggable attribute, forms validation, Ruby, AJAX History, EventSource and WebSocket.
由于采用了大量HTML5技术,Safari 5浏览器支持全屏播放和隐形字幕(closed caption),地理定位,拖拽属性,表格验证,Ruby,Ajax历史,分割元素(sectioning elements),EventSource和WebSocket等内容。
To use HTML5 Web Sockets to connect from a Web client to a remote end-point, you create a new WebSocket instance and provide it with the URL that represents the end-point to which you want to connect.
要使用HTML5WebSockets从一个Web客户端连接到一个远程端点,你要创建一个新的WebSocket实例并为之提供一个URL来表示你想要连接到的远程端点。
To use HTML5 Web Sockets to connect from a Web client to a remote end-point, you create a new WebSocket instance and provide it with the URL that represents the end-point to which you want to connect.
要使用HTML5WebSockets从一个Web客户端连接到一个远程端点,你要创建一个新的WebSocket实例并为之提供一个URL来表示你想要连接到的远程端点。
应用推荐