How the y-websocket message push to client when connect to yjs

when I connect to the yjs like this:


I can found the user info send by server side in devtools:

but I could not see the document binary content send from server, how the document send from server?

I assume you’re talking about the y-websocket library, but I’m not sure I understand your question.

The server sends messages to the client over websocket using a custom encoding protocol. The core YJS sync protocol is described here: