Skip to main content

method_to_broker_suffix

Function method_to_broker_suffix 

Source
pub fn method_to_broker_suffix(method: &str, prefix: &str) -> String
Expand description

Translate the trailing portion of an admin method into the broker subject suffix. Replaces / with . so nexo/admin/whatsapp/bot/list with prefix nexo/admin/whatsapp/bot/listbot.list.