Skip to main content

route_request_path

Function route_request_path 

Source
pub fn route_request_path(target: &str) -> Option<String>
Expand description

Removes query and fragment components from a route request path.

§Parameters

§Returns

Returns Some when crate::runtime::json_commands::route_request_path can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::route_request_path("/");