Skip to main content

Route

Type Alias Route 

Source
pub type Route = (&'static str, &'static str, Box<dyn Fn(&Message, SessionID) -> Result<(), MessageRejectErrorEnum> + Send>);
Expand description

Route type returned by the route function.