Skip to main content

create_stealth_request

Function create_stealth_request 

Source
pub fn create_stealth_request(
    profile: &Option<StealthProfile>,
    method: Method,
    url: &str,
    headers: &[(String, String)],
    body: Option<&[u8]>,
) -> StealthRequestConfig
Expand description

Create a stealth-aware request configuration. Applies HTTP/2 header ordering from the profile and injects User-Agent.