Module radix_router::router[][src]

Structs

Param

Param is a single URL parameter, consisting of a key and a value.

Params

Params is a Param-slice, as returned by the router. The slice is ordered, the first URL parameter is also the first slice value. It is therefore safe to read values by the index.

Router

Router is container which can be used to dispatch requests to different handler functions via configurable routes

Traits

Handle

Type Definitions

BoxFut
Handler

Handle is a function that can be registered to a route to handle HTTP requests. It has a third parameter for the values of wildcards (variables).