Baggage Entry. Has required key and value, optional list of properties. Keys shouldn't contain '=' and ','. Values shouldn't contains ',' and ';'.
More...
#include <userver/baggage/baggage.hpp>
|
|
| BaggageEntry (std::string_view key, std::string_view value, std::vector< BaggageEntryProperty > properties) |
| |
|
std::string | ToString () const |
| |
|
std::string | GetValue () const |
| |
|
std::string | GetKey () const |
| |
| const std::vector< BaggageEntryProperty > & | GetProperties () const |
| |
|
bool | HasProperty (const std::string &key) const |
| | Check that entry contains property with selected key.
|
| |
| const BaggageEntryProperty & | GetProperty (const std::string &key) const |
| | Get first property with selected key.
|
| |
Baggage Entry. Has required key and value, optional list of properties. Keys shouldn't contain '=' and ','. Values shouldn't contains ',' and ';'.
Definition at line 55 of file baggage.hpp.
◆ GetProperties()
- Returns
- vector of properties of chosen entry
◆ GetProperty()
Get first property with selected key.
- Exceptions
-
◆ Baggage
The documentation for this class was generated from the following file: