Malloy
Loading...
Searching...
No Matches
lib
malloy
server
http
request_generator_t.hpp
1
#pragma once
2
3
#include "connection.hpp"
4
#include "connection_plain.hpp"
5
#if MALLOY_FEATURE_TLS
6
#include "connection_tls.hpp"
7
#endif
8
#ifdef MALLOY_INTERNAL_TESTING
9
#include "mocks.hpp"
10
#endif
11
12
#include <variant>
13
14
namespace
malloy::server::http
15
{
16
17
namespace
detail
18
{
19
template
<
typename
... Args>
20
using
req_gen_helper = std::variant<std::shared_ptr<typename Args::request_generator>...>;
21
}
22
23
using
request_generator_t = detail::req_gen_helper<
24
connection_plain
25
#if MALLOY_FEATURE_TLS
26
,connection_tls
27
#endif
28
#ifdef MALLOY_INTERNAL_TESTING
29
,
malloy::mock::http::connection
30
#endif
31
>;
32
33
}
malloy::mock::http::connection
Definition:
mocks.hpp:10
Generated by
1.9.6