Skip to main content

build_profiled_client_strict

Function build_profiled_client_strict 

Source
pub fn build_profiled_client_strict(
    profile: &TlsProfile,
    proxy_url: Option<&str>,
) -> Result<Client, TlsClientError>
Expand description

Build a strict TLS-profiled [reqwest::Client].

Strict mode rejects unsupported cipher suites instead of silently skipping them.

ยงExample

use stygian_browser::tls::{build_profiled_client_strict, CHROME_131};

let client = build_profiled_client_strict(&CHROME_131, None).unwrap();
let _ = client;