Reference
Behavioral manuals for Stario types and modules: lifecycle, invariants, who constructs what, and how pieces compose. Signatures and parameter notes come from docstrings via apidoc blocks on each page.
For walkthroughs, see Tutorials. For design rationale, see Explanation.
HTTP and runtime
Runtime —
App,bootstrap,Server, shutdown, and task drain.Routing —
Route,app.add,app.usemiddleware, route parameters.Request and context —
Context,Request, query, body,c.state.Responses —
Writer, cookies, streaming, compression.Configuration —
STARIO_*environment variables,ServerConfig, andRequestPolicy.
Markup and Datastar
HTML —
stario.markuptrees,Attrs, baked components, SVG.Datastar —
data/atnamespaces, signals,SSE,read_signals.Files and assets —
Assets,Files, fingerprintedhref().stario.staticassetsis obsolete.
The page idea is Go-to architecture. This page is the helper contract.