pub fn set_boxed_proxy(proxy: Box<dyn Proxy>)
Available on crate feature
proxies
only.Expand description
Sets the global proxy to a Box<Proxy>
.
This is a simple convenience wrapper over set_proxy
, which takes a
Box<Proxy>
rather than a &'static Proxy
. See the documentation for
set_proxy
for more details.