Public Member Functions | |
| auto | bytes () const -> std::string_view |
| Get a view of the held bytes. | |
Public Attributes | |
| std::variant< std::string, SecureString > | data |
A request header value, holding ordinary storage for a plain value and wiping storage for one set from a secret
| std::variant<std::string, SecureString> sourcemeta::core::HTTPSystemRequest::HeaderValue::data |
The held bytes. A plain value carries no secret and keeps the ordinary string storage, while a value set from wiping storage stays in it, so the common request pays nothing and a secret one is never retained in an ordinary string