Skip to main content

set_idle_timeout_ms

Function set_idle_timeout_ms 

Source
pub fn set_idle_timeout_ms(ms: u64)
Expand description

Sets how long provider requests may wait for response headers, and then for each body chunk, before failing, as pi’s httpIdleTimeoutMs sets undici’s headersTimeout and bodyTimeout. 0 waits forever.