Function deno_fetch::create_http_client
source · pub fn create_http_client(
user_agent: String,
root_cert_store: Option<RootCertStore>,
ca_certs: Vec<Vec<u8>>,
proxy: Option<Proxy>,
unsafely_ignore_certificate_errors: Option<Vec<String>>,
client_cert_chain_and_key: Option<(String, String)>
) -> Result<Client, AnyError>
Expand description
Create new instance of async reqwest::Client. This client supports proxies and doesn’t follow redirects.