Module routing

Source
Expand description

HTTP routing system for elif.rs

This module provides flexible HTTP routing with:

  • Route parameter extraction
  • HTTP method handling
  • Route groups and prefixes
  • Route naming and URL generation
  • Parameter validation

Re-exports§

pub use router::Router as ElifRouter;
pub use router::Route;
pub use router::RouteBuilder;
pub use params::PathParams;
pub use params::RouteParam;
pub use params::ParamError;
pub use params::ParamType;
pub use group::RouteGroup;
pub use group::GroupBuilder;

Modules§

group
Route groups for organizing related routes
params
Route parameter extraction and validation
router
Core routing functionality

Structs§

RouteInfo
Route metadata for introspection and URL generation
RouteRegistry
Route registry for managing all registered routes

Enums§

HttpMethod
HTTP methods supported by the router