pub const HTTP_ROUTE: &'static str;
Expand description

The matched route, that is, the path template in the format used by the respective server framework.

MUST NOT be populated when this is not supported by the HTTP server framework as the route attribute should have low-cardinality and the URI path can NOT substitute it. SHOULD include the application root if there is one.

ยงExamples

  • /users/:userID?
  • {controller}/{action}/{id?}