Skip to main content

http_request

Function http_request 

Source
pub async fn http_request(
    url: &str,
    method: &str,
    headers: Option<&HashMap<String, String>>,
    body: Option<&str>,
    timeout_ms: u64,
) -> ConnectResult<HttpResponse>
Expand description

Make an HTTP request with timing.