Module mmids_core::http_api::routing
source · Expand description
Provides mechanisms to define routes for the Mmids HTTP apis, and what code should be executed for each route.
Structs
Defines the HTTP method, a specific path, and which handler should execute requests that match
the route.
A system that contains all available routes. Routes may be registered with it and can then be
looked up from.
Enums
Defines how a single fragment of the URL path should be read as. Each part is the whole value
between a
/
and either another /
or the end of the string. Query parameters are not
considered.Errors that can occur when registering new routes with the routing table
Traits
Represents code that will be executed for a given route.