ruma_client_api::http_headers

Function system_time_to_http_date

Source
pub fn system_time_to_http_date(
    time: &SystemTime,
) -> Result<HeaderValue, HeaderSerializationError>
Expand description

Convert as SystemTime to a HTTP date header value.