| 5 | |
| 6 | /// Result of parsing a curl command. |
| 7 | #[derive(Debug, Clone)] |
| 8 | pub struct ParsedCurl { |
| 9 | pub method: HttpMethod, |
| 10 | pub url: String, |
| 11 | pub headers: Vec<Header>, |
| 12 | pub body: RequestBody, |
| 13 | } |
| 14 | |
| 15 | /// Quick check whether a string looks like a curl command. |
nothing calls this directly
no outgoing calls
no test coverage detected