(&self, id: &str)
| 124 | } |
| 125 | |
| 126 | pub async fn stop(&self, id: &str) -> Result<()> { |
| 127 | self.http_request("POST", &format!("/stop/{}", id), ()) |
| 128 | .await |
| 129 | } |
| 130 | |
| 131 | pub async fn remove(&self, id: &str) -> Result<()> { |
| 132 | self.http_request("DELETE", &format!("/remove/{}", id), ()) |