pub fn ash_parse_binding(binding: &str) -> Result<NormalizedBinding, AshError>Expand description
Parse an existing normalized binding string into structured parts.
Useful when you have a binding from build_request_proof or verify_incoming_request
and want to inspect its components.
ยงExample
use ash_core::enriched::ash_parse_binding;
let parts = ash_parse_binding("POST|/api/users|page=1&sort=name").unwrap();
assert_eq!(parts.method, "POST");
assert_eq!(parts.path, "/api/users");
assert_eq!(parts.canonical_query, "page=1&sort=name");