Working session structure

This commit is contained in:
2026-02-19 03:28:37 +01:00
parent 0253f15931
commit 52b77dea83
4 changed files with 86 additions and 116 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ async fn main() -> session_rs::Result<()> {
println!("Received text: {}", text);
// Echo back
if let Err(e) = session.send(&serde_json::json!({"echo": text}).to_string()).await {
if let Err(e) = session.send(&text).await {
eprintln!("Send error: {:?}", e);
break;
}