Skip to main content

debugging

Function debugging 

Source
pub fn debugging(user_agent: &str) -> Preset
Available on crate feature api only.
Expand description

Creates an HTTP client with maximum compatibility for debugging and development.

Configuration:

  • Request timeout: 300s (5min), Connect timeout: 30s
  • Connections: 1 max per host, 60s idle timeout
  • TLS: Debug security config, all validation disabled
  • HTTPS: Not enforced (HTTP allowed)
  • Cookies: Saved, Referer: Sent (maximum compatibility)
  • Debug mode: Accepts invalid certs and wrong hostnames
  • Headers: Accept any content type, no-cache control