Let's take a look at how HTML5 Web Sockets work with proxy servers.
让我们看看HTML5Web Sockets是如何与代理服务器工作的。
This behavior is a problem with long-lived connections such as Web Sockets.
这一行为对于长久的连接,比如WebSockets来说,是存在问题的。
Figure 1-web Sockets architecture with explicit and transparent proxy servers.
图1——有着显式和透明的代理服务器的Web Sockets架构。
Let's start with some basic concepts: what exactly are HTML5 Web Sockets and proxy servers?
让我们从一些基本概念开始:HTML5Web Sockets和代理服务器究竟是什么?
Experts point to a feature called Web Sockets as an example of the improvements that HTML5 can offer.
专家指出,其中一个特性互联网通信接口就是一个HTML5可以提供的改进方案。
I'm trying to understand web sockets, but am currently having a hard time grasping every part of the process.
我试着去了解网络插座,但现在有一个很难把握的过程中的每一部分。
In the future, however, proxy servers will likely become Web Sockets-aware and able to properly handle and forward WebSocket traffic.
然而,未来,代理服务器将会是WebSocket可知的,并且能够合理的处理与转发WebSocket信息流。
This is where HTML5 Web Sockets really shine - it can provide up to a 1000:1 reduction in unnecessary network traffic and reduce latency.
这正是HTML5Web Sockets大展身手的地方——它能够提供1000:1的降低不必要的网络流量和延迟。
In some cases additional proxy server configuration may be required, and certain proxy servers may need to be upgraded to support Web Sockets.
在一些情况下可能需要一些额外的代理服务器配置,而一些特定的代理服务器可能需要被升级以支持Web Sockets。
Some proxy servers are harmless and work fine with Web Sockets; others will prevent Web Sockets from working correctly, causing the connection to fail.
一些代理服务器于Web Sockets无害并且能很好的工作,其它一些有可能妨碍Web Sockets正常工作,导致连接失败。
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安全。
The HTML5 web Sockets specification defines the web Sockets API that enables web pages to use the web Socket protocol for full-duplex communication with a remote host.
HTML5Web Sockets规范定义了Web SocketsAPI,支持页面使用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.
要使用HTML5Web Sockets从一个Web客户端连接到一个远程端点,你要创建一个新的WebSocket实例并为之提供一个URL来表示你想要连接到的远程端点。
Pre-design considerations such as when to use Web services and examining the tradeoffs between using Web services or sockets or messaging techniques.
设计前考虑事项,例如何时使用Web服务,以及如何分析使用Web服务、套接字或消息传递技术之间的利弊。
Previous to the availability of this enhancement, notifications could only be sent over TCP sockets, making integration with web-based systems more complex.
在此增强功能可用之前,只能通过tcp套接字发送通知,这使得与基于Web的系统的集成变得更加复杂。
To access the JAX-RS web service from an Android device, enable the android.permission.INTERNET permission in AndroidManifest.xml that allows applications to open network sockets.
要从Android设备访问JAX-RSweb服务,需在AndroidManifest.xml 中启用 android.permission.INTERNET权限,这将允许应用程序打开网络套接字。
To access the JAX-RS web service from an android device, enable the android.permission.INTERNET permission, in AndroidManifest.xml, which allows applications to open network sockets.
要从android设备访问JAX - RSweb服务,在AndroidManifest . xml中启用android . permission . INTERNET权限,从而允许应用程序打开网络套接字。
Messages can be transferred via web services, REST, EJBs, RMI, HTTP, Sockets, SSL or any similar communication interface.
消息可以通过Web服务、REST、EJBs、RMI、HTTP、Sockets、SSL或任何类似的通信接口进行传输。
For Web-based E-mail like Gmail or Yahoo mail, you can use SSL (Secure Sockets Layer) encryption.
对那些像Gmail和雅虎邮的Web邮箱的用户,可以使用SSL加密(加密套接字协议层)。
For Web sites that process payment transactions, the Web server also supports secure Sockets Layer (SSL), the Internet protocol for transmitting and receiving information securely over the Internet.
对于处理支付交易的网站,网络服务器也支持加密套接字协议(SSL)——用于在因特网上安全地传输与接收信息的因特网协议。
For Web sites that process payment transactions, the Web server also supports secure Sockets Layer (SSL), the Internet protocol for transmitting and receiving information securely over the Internet.
对于处理支付交易的网站,网络服务器也支持加密套接字协议(SSL)——用于在因特网上安全地传输与接收信息的因特网协议。
应用推荐