Skip to main content

earl_core/
transport.rs

1use std::time::Duration;
2
3#[derive(Debug, Clone)]
4pub struct ResolvedTransport {
5    pub timeout: Duration,
6    pub follow_redirects: bool,
7    pub max_redirect_hops: usize,
8    pub retry_max_attempts: usize,
9    pub retry_backoff: Duration,
10    pub retry_on_status: Vec<u16>,
11    pub compression: bool,
12    pub tls_min_version: Option<reqwest::tls::Version>,
13    pub proxy_url: Option<String>,
14    pub max_response_bytes: usize,
15}