Skip to main content

host_function_command_name

Function host_function_command_name 

Source
pub fn host_function_command_name(key: &str) -> String
Expand description

Convert a registration key to its command name. listOrders and list-orders both become list-orders, so the guest sees one spelling whichever the caller wrote. Mirrors hostFunctionCommandName in the TypeScript client.