Skip to main content

split_path

Function split_path 

Source
pub fn split_path(path: &str) -> Option<(Root, &str)>
Expand description

MSC4512: splits a raw request path into its API and the remainder after the version.

The version is one v<x> segment or the two segments unstable/<ns>. The remainder is what a proxy claim is matched against.