Skip to main content

set_settings_proxy

Function set_settings_proxy 

Source
pub fn set_settings_proxy(proxy: Option<&str>)
Expand description

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.