Function ruma::api::client::http_headers::http_date_to_system_time

source ยท
pub fn http_date_to_system_time(
    value: &HeaderValue,
) -> Result<SystemTime, HeaderDeserializationError>
Available on (crate features client-api-c or client-api-s) and (crate features client or server) and crate feature api only.
Expand description

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