示例#1
0
void http_headers::set_date(const utility::datetime& date)
{
    m_headers[http::header_names::date] = date.to_string(utility::datetime::RFC_1123);
}
示例#2
0
void http_headers::set_date(const utility::datetime& date)
{
    add(http::header_names::date, date.to_string(utility::datetime::RFC_1123));
}
示例#3
0
utility::string_t ApiClient::parameterToString(const utility::datetime &value)
{
    return utility::conversions::to_string_t(value.to_string(utility::datetime::ISO_8601));
}