CppServer 1.0.5.0
C++ Server Library
Loading...
Searching...
No Matches
http_response.inl
Go to the documentation of this file.
1
9#if defined(FMT_VERSION)
10template <> struct fmt::formatter<CppServer::HTTP::HTTPResponse> : ostream_formatter {};
11#endif
12
14template <>
15struct std::hash<CppServer::HTTP::HTTPResponse>
16{
17 typedef CppServer::HTTP::HTTPResponse argument_type;
18 typedef size_t result_type;
19
20 result_type operator() (const argument_type& value) const
21 {
22 result_type result = 17;
23 result = result * 31 + std::hash<std::string>()(value.cache());
24 return result;
25 }
26};
C++ Server project definitions.
Definition asio.h:56