web_get

Function web_get 

Source
pub fn web_get(
    url: &str,
    proxy_config: &ProxyConfig,
    headers: Option<&HashMap<CaseInsensitiveString, String>>,
) -> Result<HttpResponse, HttpError>
Expand description

Synchronous version of web_get_async that uses tokio runtime to run the async function

This function is provided for compatibility with the existing codebase.