Expand description
Request context, errors and the explicit browser shell. Checked document rendering and per-request metadata. Server rendering is entered only through a finalized bound page handle.
Structs§
- Render
Ctx - What a render takes beyond
PageConfig: the policy’s typed extensions, the walk’s budgets, and the typed homes for what applications used to put inbody_prefix: the route’smodulepreloadlinks from the build’s manifest, and head links. Never a nonce: the render draws one per response. Data goes throughPageConfig::config_json.
Enums§
- Render
Error - Why a page was not rendered. Nothing reaches the browser unless the handler sends it: answer with the application’s own error page.
Functions§
- render_
browser_ shell - Serve a route the build declares browser-rendered (
ssr: false): the nonced bundle and the same headers as any page, around an empty root.