Skip to main content

handle_action_route

Function handle_action_route 

Source
pub fn handle_action_route(
    surface_json: &str,
    operation: &str,
) -> Option<String>
Expand description

Handles one action route by returning its declared operation path.

§Parameters

§Returns

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

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::json_commands::handle_action_route.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::handle_action_route("{}", todo!());