Parameters & Converters¶
The declarations that bind a handler's arguments to parts of the request, and the path converters behind them.
Path
¶
Query
¶
Header
¶
Cookie
¶
Body
¶
Form
¶
File
¶
register_converter
¶
Register a custom path converter.
After register_converter("slug", SlugConverter), routes may use
{post:slug} and the radix tree validates/coerces the segment via
SlugConverter().match(...). converter_cls must subclass
Converter (= _Converter). A built-in name cannot be shadowed -
that raises ValueError.
RouteInfo
¶
Stored route metadata.
RouteMatch
¶
Result of matching a path against the tree.