Skip to main content

DEFAULT_ROUTE

Constant DEFAULT_ROUTE 

Source
pub const DEFAULT_ROUTE: &str = "*";
Expand description

Route key for “any method that has no route of its own”.

The limits files set it to the broker’s general bucket, so a call made through raw() for a method the library never named still spends quota instead of going out for free. If the route table has no "*" entry, an unnamed method spends nothing.