WebSockets are a bidirectional real-time client-server communication technology part of the HTML5 specification, superior to Ajax in terms of performance and simplicity.
The connection is established using the standard websocket protocol. After the connection is established, the module can send a packet (interface request) to any module and receive the other party's data packet. Note: All requests are asynchronous non-blocking.
作为交易引擎上的预定软件发布的一部分,我们的市场数据分发组件在重启过程中因为一系列更新而过载了,这暂停了 websocket API 上的数据下载。
As part of a scheduled software release on the trading engine, our market data distribution component became saturated with a cascade of updates during the restart process which temporarily prevented downstream data distribution on the websocket API.
Before calling the interface of other modules, it is also necessary to complete the operation of establishing a websocket connection and shaking hands with the module. After the handshake is completed, the Request is sent to the module.
WebSocket 仍是一项新兴技术,并未在所有浏览器中全面实施。
WebSocket is still a young technology and not fully implemented in all browsers.
使用 WebSocket 为服务器端应用带来了全新的用法。
Using WebSocket creates a whole new usage pattern for server side applications.
其必须先通过WebSocket代理间接连接至服务器。
It must connect to the server indirectly via WebSocket proxy.
在最新规范中,WebSocket 也可以接收二进制讯息。
WebSocket can also receive binary messages in the latest spec.
WebSocket是一种提供浏览器和服务器间全双工连接的通信协议。
WebSocket is a communication protocol which can provide a full duplex connection between the browser and the server.
如果您需要在客户端与服务器之间建立极低延迟、近乎即时的连接,则可使用 WebSocket。
Use WebSocket whenever you need a truly low latency, near realtime connection between the client and the server.
WebSocket 特别适用于连续数据交换的服务,例如在线游戏,实时交易系统等等。
WebSocket is especially great for services that require continuous data exchange, e.g. online games, real-time trading systems and so on.
如果您有旧版 WebSocket 协议的服务器实施,我们建议您将其更新到最新版本。
If you have server implementations for older versions of WebSocket protocol, we recommend you to upgrade it to the latest version.
成功订阅后,Websocket客户端将收到确认:
After successful subscription, the Websocket client receives confirmation
Conteúdo potencialmente sensível ou impróprio
Os exemplos servem apenas como ajuda na tradução da palavra ou da expressão procurada. Eles não são selecionados ou validados por nós e podem conter linguagem inapropriada. Pedimos que reporte exemplos que devem ser modificados ou que não devem ser exibidos. As traduções potencialmente sensivéis, impróprias ou coloquiais geralmente são marcadas em vermelho ou em laranja.