1. Introduction 1、介绍 1.1. Background 1.2 背景 _This section is non-normative._ 这部分是非正式的。 Historically, creating web applications that need bidirectional communication between a client and a server (
7. Closing the Connection 7.关闭连接 7.1. Definitions 7.1 术语 7.1.1. Close the WebSocket Connection 7.1.1 关闭WebSocket连接 To _Close the WebSocket Connection_, an endpoint closes the underlying T
6. Sending and Receiving Data 6、发送和接收数据 6.1. Sending Data 6.1 发送数据 To _Send a WebSocket Message_ comprising of /data/ over a WebSocket connection, an endpoint MUST perform the following st
5. Data Framing 数据块 5.1. Overview In the WebSocket Protocol, data is transmitted using a sequence of frames. To avoid confusing network intermediaries (such as intercepting proxies) and
参考:http://jinnianshilongnian.iteye.com/blog/1898350 4.2 Server-Side Requirements 服务器端的要求 Servers MAY offload the management of the connection to other agents on the network, for ex
4.Opening Handshake 4.1. Client Requirements 第四章:握手 第一节:客户端的要求 To _Establish a WebSocket Connection_, a client opens a connection and sends a handshake as defined in this section. A connect
3.WebSocket URIs This specification defines two URI schemes, using the ABNF syntax defined in RFC 5234 [RFC5234], and terminology and ABNF productions defined by the URI specification RFC 3986 [RF