Expand description
Routing module for the Rustisan framework
This module provides Laravel-style routing functionality with support for HTTP methods, route parameters, middleware, and route groups.
Structs§
- Route
- Route definition
- Route
Group - Route group for organizing related routes
- Router
- Router for managing routes
Enums§
- Route
Handler - Route handler variants
Functions§
- create_
error_ response - Helper function to create an error response
- create_
json_ response - Helper function to create a JSON response
- create_
response_ with_ status - Helper function to create a response with custom status
- create_
success_ response - Helper function to create a success response
Type Aliases§
- Async
Handler - Type alias for async route handlers
- Async
Handler With Id - Type alias for async handlers with ID parameter
- Async
Handler With IdAnd Request - Type alias for async handlers with ID and request parameters
- Async
Handler With Request - Type alias for async handlers with request parameter