Real-Time Communication

WebSocket Frame

The basic unit of communication in the WebSocket protocol. After the initial HTTP upgrade handshake, data is exchanged as frames rather than HTTP messages. Frame types include text, binary, ping, pong, and close. Close frames carry a status code (like 1000 Normal Closure or 1001 Going Away) that indicates why the connection is being terminated.

相关协议

另请参阅