pub trait SimpleProxyResolverExt: 'static {
    // Required methods
    fn set_default_proxy(&self, default_proxy: Option<&str>);
    fn set_uri_proxy(&self, uri_scheme: &str, proxy: &str);
    fn default_proxy(&self) -> Option<GString>;
    fn ignore_hosts(&self) -> Vec<GString>;
    fn connect_default_proxy_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
    fn connect_ignore_hosts_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}

Required Methods§

source

fn set_default_proxy(&self, default_proxy: Option<&str>)

source

fn set_uri_proxy(&self, uri_scheme: &str, proxy: &str)

source

fn default_proxy(&self) -> Option<GString>

source

fn ignore_hosts(&self) -> Vec<GString>

source

fn connect_default_proxy_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_ignore_hosts_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

Implementors§