我正在尝试理解WebSocket协议https://www.rfc-editor.org/rfc/rfc6455
但是不理解什么是继续帧。如果我正在制作一个WebSocket客户端,何时可以预计服务器会发送这个帧?在什么情况下我会想要发送它?上述参考资料对继续帧的信息或作用以及客户端(或服务器)如何处理它都提供了很少的信息。
来自协议规范:
操作码:4位
Defines the interpretation of the "Payload data". If an unknown
opcode is received, the receiving endpoint MUST _Fail the
WebSocket Connection_. The following values are defined.
* %x0 denotes a continuation frame
这是关于续帧的仅有的三个参考之一,但它并没有为我提供太多线索。
那么我应该忽略任何具有此操作码的帧吗?