Skip to main content

create_custom_client

Function create_custom_client 

Source
pub fn create_custom_client(
    connect_timeout: Duration,
    timeout: Duration,
    pool_max_idle_per_host: usize,
) -> Arc<Client> 
Expand description

Create a custom HTTP client with specific configuration.

Use this when you need client settings different from the global defaults.