This commit is contained in:
2026-11-24 22:15:05 +08:00
commit eb2ea93f4c
43 changed files with 937 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
//! This crate contains all shared fullstack server functions.
use dioxus::prelude::*;
/// Echo the user input on the server.
#[post("/api/echo")]
pub async fn echo(input: String) -> Result<String, ServerFnError> {
Ok(input)
}