[−][src]Function kagura::component::task::http::request
pub fn request<Msg>(
method: impl Into<String>,
url: impl Into<String>,
props: Props,
handler: impl FnMut(Result<Response, JsValue>) -> Msg + 'static
) -> Box<dyn FnOnce(Box<dyn FnOnce(Msg)>)> where
Msg: 'static,