Expand description
HTTP: the first paint, the assets, the probes, and the websocket upgrade.
“First paint is free SSR: evaluate pure view against the current accumulator, ship HTML.”
The document below is therefore not a shell that fetches data — it is the data, rendered, and
the socket that opens afterwards resumes from the seq the render reflects. There is no
loading state anywhere in a Beck program because there is nothing to load.
Constants§
- CALLBACK_
PATH - LOGIN_
PATH - Where the login flow lives. Fixed paths rather than configurable ones: they are registered with an identity provider as a redirect URI, and a path an operator can move is a path that stops matching what was registered.
- LOGOUT_
PATH
Functions§
- bind
- The port the local listener actually bound, for tests that ask for port 0.
- kernel_
path - Where the Mode B kernel is looked for.
- reserved_
routes - A path this process answers itself, so a program’s routes cannot be shadowed by one.
- serve
- serve_
with_ dashboard - Serve, optionally with the dashboard mounted under
/_beck.