(&self, id: &str)
| 119 | } |
| 120 | |
| 121 | pub async fn start(&self, id: &str) -> Result<()> { |
| 122 | self.http_request("POST", &format!("/start/{}", id), ()) |
| 123 | .await |
| 124 | } |
| 125 | |
| 126 | pub async fn stop(&self, id: &str) -> Result<()> { |
| 127 | self.http_request("POST", &format!("/stop/{}", id), ()) |