build_curl_request

Function build_curl_request 

Source
pub fn build_curl_request(
    method: &str,
    url: &str,
    headers: &[(String, String)],
    body: Option<&str>,
) -> CurlRequest
Expand description

Helper function to build a cURL request from HTTP request components