Skip to main content

split_prefixed_path

Function split_prefixed_path 

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

Split a prefixed path back into the session id and the method path the session itself expects.

None when the path carries no session prefix, or names a session with no method after it.