2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
44#ifndef DOXYGEN_SHOULD_SKIP_THIS
51namespace web::http::
client {
57 "HTTP request 'Host' header field",
59 CLI::TypeValidator<std::string>()
);
62 "--pipelined-requests{true}",
66 CLI::IsMember({
"true",
"false"})
);
SubCommand(SubCommand *parent, ConcretSubCommand *concretSubCommand, const std::string &group, bool final=true)
CLI::Option * addFlag(const std::string &name, const std::string &description, const std::string &typeName, ValueTypeT defaultValue, const CLI::Validator &validator) const
CLI::Option * setDefaultValue(CLI::Option *option, const ValueTypeT &value, bool clear=true) const
CLI::Option * addOption(const std::string &name, const std::string &description, const std::string &typeName, const CLI::Validator &validator) const
ConfigHTTP & setPipelinedRequests(bool pipelinedRequests)
ConfigHTTP(utils::SubCommand *parent)
CLI::Option * pipelinedRequestsOpt
CLI::Option * hostHeaderOpt
ConfigHTTP & setHostHeader(const std::string &hostHeader)
bool getPipelinedRequests() const
std::string getHostHeader() const