Function server_fn::call_server_fn
source · pub async fn call_server_fn<T, C: 'static>(
url: &str,
args: impl ServerFn<C>,
enc: Encoding
) -> Result<T, ServerFnError>where
T: Serialize + DeserializeOwned + Sized,
Expand description
Executes the HTTP call to call a server function from the client, given its URL and argument type.