Skip to main content

get

Function get 

Source
pub fn get<I: 'static, R, E: Render, F>(
    pattern: impl Into<String>,
    f: F,
) -> Route<I, R, E>
where F: Fn(&mut Cx<'_, I, E>) -> Result + Send + Sync + 'static,
Expand description

A route with a GET handler (and so HEAD).