2025-03-07 22:15:49 +01:00

20 lines
394 B
C++

#ifndef seafire__protocol__date_time_hxx_
#define seafire__protocol__date_time_hxx_
#include <chrono>
#include <optional>
#include <string>
namespace seafire::protocol
{
std::string
format_http_date(std::chrono::system_clock::time_point const&);
std::optional<std::chrono::system_clock::time_point>
try_parse_http_date(std::string const&);
} // namespace seafire::protocol
#endif