Expand description
Authentication handshake logic.
The auth flow is handled inline during transport connection:
- WebSocket (
connection::connect_ws): SendsSystemOp::Authas the first text message, waits forSystemOp::AuthOkresponse. - SSE (
connection::connect_sse): Auth params are passed as URL query parameters;AuthOkarrives as the first SSE event.
Resume is supported by including resume_cursors in the auth message.
The server replays any buffered frames from the requested cursor positions.