cleanup, docs
This commit is contained in:
@@ -14,4 +14,5 @@ return value : route metadata DValue
|
||||
Normalizes and validates a raw route path. The returned DValue includes route fields used by request context population, including sanitized path and validity metadata.
|
||||
|
||||
:example
|
||||
print("request_route_from_raw_path example\n");
|
||||
DValue route = request_route_from_raw_path("blog/2024/hello-world");
|
||||
print("page=", route["page"].to_string(), " valid=", route["valid"].to_bool() ? "yes" : "no", "\n");
|
||||
|
||||
Reference in New Issue
Block a user