Loading…
|
Translation changed |
|
|
String added in the repository |
|
Loading…
|
Translation changed |
|
|
String added in the repository |
|
TheWebSocketProtocol enables two-way communication between a client running untrusted code in a controlled environment to a remote host that has opted-in to communications from that code. The protocol consists of an opening handshake followed by basic message framing, layered over TCP. The goal of this technology is to provide a mechanism for browser-based applications needing two-way communication with servers without relying on opening multiple HTTP connections.协议允许在受控环境中运行的不受信任代码,与愿意接受该代码通信的远程主机进行双向数据交换。该协议由一个起始握手阶段和随后的基本消息帧格式组成,整个通信基于 TCP 实现。这项技术的主要目的是,为需要与服务器进行双向通信的浏览器应用提供一种解决方案,避免依赖打开多个 HTTP 连接。