mirror of
https://github.com/livekit/livekit.git
synced 2026-09-17 10:15:25 +00:00
Shape-matches a request path against a set of route templates via canonical typed-wildcard tokens and a left-to-right pruned walk: linear in path depth (no 2^segments), type-aware (int/float/uuid/str/path), glob catch-alls, and a PrefixIndex interface so the same walk runs over an exact map (local) or a compact replicated backing (multi-node). Worker stays authoritative for the exact convertor/method match.