Baggage header. Contains entries (key, value, optional<properties>).
Definition in file baggage.hpp.
Go to the source code of this file.
#include <algorithm>
#include <optional>
#include <stdexcept>
#include <string>
#include <string_view>
#include <unordered_set>
#include <vector>
#include <userver/engine/task/inherited_variable.hpp>
Classes | |
class | baggage::BaggageException |
Baggage base exception. More... | |
class | baggage::BaggageEntryProperty |
property of entry. Has required key and optional value. Keys shouldn't contain '=', ';' and ','. Values shouldn't contains ',' and ';' More... | |
class | baggage::BaggageEntry |
Baggage Entry. Has required key and value, optional list of properties. Keys shouldn't contain '=' and ','. Values shouldn't contains ',' and ';'. More... | |
class | baggage::Baggage |
Baggage header. Contains entries (key, value, optional<properties>). More... | |
Typedefs | |
using | baggage::BaggageProperties |
Functions | |
std::optional< Baggage > | baggage::TryMakeBaggage (std::string header, std::unordered_set< std::string > allowed_keys) |
Parsing function. | |
template<typename T > | |
bool | baggage::HasInvalidSymbols (const T &obj) |
Variables | |
engine::TaskInheritedVariable< Baggage > | baggage::kInheritedBaggage |
using baggage::BaggageProperties |
Definition at line 20 of file baggage.hpp.
bool baggage::HasInvalidSymbols | ( | const T & | obj | ) |
Definition at line 153 of file baggage.hpp.
|
inline |
Definition at line 159 of file baggage.hpp.