Module proxy

Module proxy 

Source
Expand description

Proxy configuration types. Proxy configuration types.

Types for configuring per-tab and per-window proxy settings.

§Example

use firefox_webdriver::ProxyConfig;

// HTTP proxy without auth
let proxy = ProxyConfig::http("proxy.example.com", 8080);

// SOCKS5 proxy with auth
let proxy = ProxyConfig::socks5("proxy.example.com", 1080)
    .with_credentials("user", "pass")
    .with_proxy_dns(true);

Structs§

ProxyConfig
Proxy configuration.

Enums§

ProxyType
Proxy protocol type.