Module salvo::routing [−][src]
Expand description
Routing and filters
Modules
filter
Structs
CharPartBuilder
Flow Control.
FnFilter
accpect a function as it’s param, use this function to filter request.
Filter by request method
Filter request by it’s path information.
RegexPartBuilder
Router struct is used for route request to different handlers.
Traits
Functions
Filter request, only allow delete method.
Filter request, only allow get method.
Filter request, only allow head method.
Filter request, only allow options method.
Filter request, only allow path method.
Filter request use PathFilter
.
Filter request, only allow post method.
Filter request, only allow put method.