Skip to main content

procedure_rest_route_path

Function procedure_rest_route_path 

pub fn procedure_rest_route_path(procedure: &Procedure) -> String
Expand description

The HTTP path the server mounts procedure at on transport rest: /<version>/$procs/<name> when it declares @api_version, and /$procs/<name> otherwise. Relative to the router, so a consumer’s mount prefix (Router::nest, a client base path) goes in front.