ruma_client_api::http_headers

Function http_date_to_system_time

Source
pub fn http_date_to_system_time(
    value: &HeaderValue,
) -> Result<SystemTime, HeaderDeserializationError>
Expand description

Convert a header value representing a HTTP date to a SystemTime.