Section Overview
Routing & Handlers
Attribute-driven routes, typed handlers, and content negotiation in one coherent request pipeline.
Support Semitexa
Built for developers who prefer control over magic.
Your support helps keep it fast, open, and evolving.
Route Map
Each feature page pairs live output with the source that produced it.
Foundations
3Routing & Handlers
Basic Route
Define a route with one access attribute on the payload — no XML, no YAML, no config files.
Routing & Handlers
Parameterized Route
Path parameters with regex constraints, how the hydrator injects them, and why a default does not make a segment optional.
Routing & Handlers
Env Route Override
Keep the payload as the route source of truth while allowing operations to remap the public URL through .env.
Request Model
2Routing & Handlers
Payload As A Shield
Hydration happens before the handler, and each setter owns the normalization and guard logic for its own field.
Routing & Handlers
Payload Parts
One module owns the route, another module can extend the same payload contract without forking or reopening the base class.