Skip to main content

args

Function args 

Source
pub fn args(profile: &Path, no_sandbox: bool, proxy_port: u16) -> Vec<String>
Expand description

The Chromium arguments: headless, its own profile, its pipe, nothing it does not need, and the one way out it has: the address proxy on proxy_port (address_proxy). Every connection goes through it, names are resolved by it (a local lookup is made to fail), and no route around it is left: no QUIC (UDP), no WebRTC over UDP that is not proxied, no DNS prefetch.