pub fn set_settings_proxy(proxy: Option<&str>)
Applies pi’s httpProxy setting for this process: it serves as HTTP_PROXY and HTTPS_PROXY where those are unset. Call it before the first request. Only the first call counts.
httpProxy
HTTP_PROXY
HTTPS_PROXY