Skip to main content
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.

The ack frame

On a successful upgrade, the server speaks first and sends an ack frame describing the account you connected as:
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.