CppServer
1.0.4.0
C++ Server Library
include
server
http
http_request.inl
Go to the documentation of this file.
1
9
#if defined(FMT_VERSION)
10
template
<>
struct
fmt::formatter<
CppServer
::HTTP::HTTPRequest> : ostream_formatter {};
11
#endif
12
14
template
<>
15
struct
std::hash<
CppServer
::HTTP::HTTPRequest>
16
{
17
typedef
CppServer::HTTP::HTTPRequest
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
};
CppServer::HTTP::HTTPRequest
HTTP request.
Definition:
http_request.h:31
CppServer
C++ Server project definitions.
Definition:
asio.h:56
Generated by
1.9.1