Skip to main content

get

Function get 

Source
pub fn get<F, Fut, Res>(handler: F) -> MethodHandler
where F: Fn(HashMap<String, String>) -> Fut + Send + Sync + 'static, Fut: Future<Output = Res> + Send + 'static, Res: IntoResponse + 'static,
Expand description

创建 GET 路由