Skip to main content

resolve_proxy_token

Function resolve_proxy_token 

Source
pub fn resolve_proxy_token(env_var: &str) -> String
Expand description

Resolve or generate the proxy/HTTP session token.

Priority:

  1. Explicit env var (user override)
  2. Existing token file (persistence across restarts)
  3. Generate new + write to file