WebSocket diagnostics

Live view of the capnweb socket, the auth binding, and identity over both transports.

Connection

disconnected

RPC stub: none. The socket should be connected when signed in and disconnected when signed out.

Force-close, then call the server function below: it should still resolve your user, but over http (the fallback). A session event (focus, sign-in) reopens it.

Session

Not signed in — the socket should be closed and the server fn should fall back to HTTP as anonymous.

Identity over both transports

Both calls resolve the server-verified caller, by different routes. They must agree with each other and with the session above.