statsig_rust/networking/proxy_config.rs
1#[derive(Debug, Clone)]
2pub struct ProxyConfig {
3 pub proxy_host: Option<String>,
4 pub proxy_port: Option<u16>,
5 pub proxy_auth: Option<String>, // e.g., "username:password"
6 pub proxy_protocol: Option<String>, // e.g., "http", "socks5", "https"
7 pub ca_cert_path: Option<String>, // Path to a PEM bundle for custom TLS roots
8}