我正在使用Rocket 框架,我想在我的处理程序中发出一个异步HTTP 请求,就像这样 #[get("/")] async fn handler() -> String { some_func().await; "OK".into() }
確定! 回上一頁