dioxus-fullstack 0.7.6

Library for fetching resources from servers in Dioxus apps.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::*;

pub use axum::extract::Form;

impl<T> IntoRequest for Form<T>
where
    T: Serialize + 'static + DeserializeOwned,
{
    fn into_request(self, req: ClientRequest) -> impl Future<Output = ClientResult> + 'static {
        async move { req.send_form(&self.0).await }
    }
}