fn proxy_blacklist<I, T>(self, hosts: I) -> Self
    where
        I: IntoIterator<Item = T>,
        T: Into<String>,
    {
        self.configure(proxy::Blacklist::from_iter(hosts.into_iter().map(T::into)))
    }
/// Disable proxy usage for the provided list of hosts.
///
/// # Examples
///
/// ```
/// # use isahc::prelude::*;
/// #
/// let client = HttpClient::builder()
///     // Disable proxy for specified hosts.
///     .proxy_blacklist(vec!["a.com", "b.org"])
///     .build()?;
/// # Ok::<(), isahc::Error>(())
/// ```
Disable proxy usage for the provided list of hosts.
Disable proxy usage for the provided list of hosts .
fn proxy_blacklist<I, T>(self, hosts: I) -> Self
    where
        I: IntoIterator<Item = T>,
        T: Into<String>,
    {
        self.configure(proxy::Blacklist::from_iter(hosts.into_iter().map(T::into)))
    }
fn proxy_blacklist < I , T > ( self , hosts : I ) -> Self where I : IntoIterator < Item = T > , T : Into < String > , { self . configure ( proxy :: Blacklist :: from_iter ( hosts . into_iter ( ) . map ( T :: into ) ) ) }
Disable proxy usage for the provided list of hosts.
Disable proxy usage for the provided list of hosts .
self
hosts
I
self
hosts
I
examples
None
use isahc::prelude::*;
let client = HttpClient::builder()
Disable proxy for specified hosts.
let client = HttpClient :: builder () Disable proxy for specified hosts .
ok::<(), isahc::error>(())
None