Skip to main content

post

Function post 

Source
pub fn post<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

创建 POST 路由