Function ruma::api::client::http_headers::system_time_to_http_date
source ยท pub fn system_time_to_http_date(
time: &SystemTime,
) -> Result<HeaderValue, HeaderSerializationError>
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 as SystemTime
to a HTTP date header value.