Skip to main content

retry_after

Function retry_after 

Source
fn retry_after(headers: &HeaderMap) -> Option<Duration>
Expand description

The Retry-After header, as seconds. Zero reads as absent: a cooldown ending the instant it starts is the same as none, and the next arm of the cooldown rule should decide instead.