(Path(id): Path<String>)
| 3440 | } |
| 3441 | |
| 3442 | async fn delete_pty(Path(id): Path<String>) -> Result<Json<bool>> { |
| 3443 | let manager = get_pty_manager(); |
| 3444 | let deleted = manager.delete_session(&id).await; |
| 3445 | Ok(Json(deleted)) |
| 3446 | } |
| 3447 | |
| 3448 | #[derive(Debug, Deserialize)] |
| 3449 | pub struct PtyConnectQuery { |
nothing calls this directly
no test coverage detected