RFC [INSERT NUMBER HERE]: WebSocket Chat Protocol
Introduction The WebSocket Chat Protocol is designed to facilitate real-time, bidirectional communication between a client and a server over a WebSocket connection. This protocol is specifically designed for chat applications, where users can send messages to each other in real-time.
Protocol Overview The WebSocket Chat Protocol defines a simple message format that can be used to send chat messages between a client and a server. The format of a chat message is as follows:
{ "type": "message",