Skip to main content

mount

Function mount 

Source
pub fn mount<S, A>(prefix: &str, service: S, fallback: A) -> Mount<S, A>
Available on crate feature tower only.
Expand description

Requests whose path starts with prefix go to service, the rest to fallback.