MCPcopy Create free account
hub / github.com/bajrangCoder/setu / ParsedCurl

Class ParsedCurl

src/utils/curl_parser.rs:7–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5
6/// Result of parsing a curl command.
7#[derive(Debug, Clone)]
8pub 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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected