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,
formats
::
parse
::
To
<BaggageSettings>);
18
19
extern
const
dynamic_config::Key<BaggageSettings> kBaggageSettings;
20
21
extern
const
dynamic_config::Key<
bool
> kBaggageEnabled;
22
23
}
// namespace baggage
24
25
USERVER_NAMESPACE_END
userver
baggage
baggage_settings.hpp
Generated on Wed Dec 4 2024 18:43:40 for userver by
Doxygen
1.10.0