userver
C++ Async Framework
Loading...
Searching...
No Matches
baggage_settings.hpp
1
#
pragma
once
2
3
#
include
<
string
>
4
#
include
<
unordered_set
>
5
6
#
include
<
userver
/
dynamic_config
/
snapshot
.
hpp
>
7
#
include
<
userver
/
formats
/
json_fwd
.
hpp
>
8
9
USERVER_NAMESPACE_BEGIN
10
11
namespace
baggage {
12
13
struct
BaggageSettings
final
{
14
std::unordered_set<std::string> allowed_keys;
15
};
16
17
BaggageSettings Parse(
const
formats::
json
::Value& value,
18
formats::
parse
::
To
<BaggageSettings>);
19
20
extern
const
dynamic_config::Key<BaggageSettings> kBaggageSettings;
21
22
extern
const
dynamic_config::Key<
bool
> kBaggageEnabled;
23
24
}
// namespace baggage
25
26
USERVER_NAMESPACE_END
userver
baggage
baggage_settings.hpp
Generated on Thu Oct 3 2024 13:07:36 for userver by
Doxygen
1.10.0