matrix_sdk_base::ruma::api::client::http_headers

Function system_time_to_http_date

Source
pub fn system_time_to_http_date(
    time: &SystemTime,
) -> Result<HeaderValue, HeaderSerializationError>
Available on crate feature api and (crate features client or server) only.
Expand description

Convert as SystemTime to a HTTP date header value.