r#"{ "type": "WEBSOCKET_ERROR", "error": "Unable to serialize JSON" }"#; let resp = serde_json::to_string(&response).unwrap_or_else(|_| LAST_CHANCE_ERROR.into()); Message::Text(resp) Message::Text(resp.into()) } async fn handle_idle(manager: &mut CoordinatorManager, tx: &...
Showing 9 changed files with 22 additions and 8 deletions. Whitespace Ignore whitespace Split Unified actix-web clerk Shuttle.toml hello-world Shuttle.toml static-files Shuttle.toml websocket-actorless Shuttle.toml axum hello-world Shuttle.toml metadata Shuttle.toml static-files Shuttle....