Every frame in both directions is a single JSON object. Here is what the server sends the moment your connection is accepted.
Every frame exchanged over the stream, in either direction, is a single JSON object. This page covers what happens right after the WebSocket upgrade completes.
Consume the ack frame before sending any commands. It tells you the effective plan and limits for this connection, which you should read at runtime rather than assume.
Once you’ve read the ack, you’re ready to send subscribe commands. See Commands for the request and response shapes.
Next: Commands
Learn how to subscribe and unsubscribe from channels.