Skip to main content

parse_retry_after

Function parse_retry_after 

Source
pub(crate) fn parse_retry_after(
    value: &str,
    relay_now_ms: Option<u64>,
    local_now_ms: u64,
) -> Option<Duration>
Expand description

Retry-After: seconds, or a date read against the relay’s own Date (else this computer’s clock).