Skip to main content

route

Function route 

Source
pub fn route(path: &str, scope: &ServedFolder) -> Option<Result<Value>>
Expand description

The reply to path when it is an extension’s address in scope: a browser file the package ships, or else what the package routes it to. None when it is no extension’s.