router

Function router 

Source
pub fn router<B>(
    prefix: &str,
    sessions: Sessions,
    max_bytes: usize,
) -> Router<(), B>
where B: HttpBody + Send + 'static, <B as HttpBody>::Data: Send, <B as HttpBody>::Error: Error + Send + Sync,