#include <metadata_batch.h>
Public Types | |
using | MementoType = ValueType |
enum | ValueType { kHttp, kHttps, kInvalid } |
Static Public Member Functions | |
static const char * | DisplayValue (MementoType content_type) |
static StaticSlice | Encode (ValueType x) |
static absl::string_view | key () |
static ValueType | MementoToValue (MementoType content_type) |
static ValueType | Parse (absl::string_view value, MetadataParseErrorFn on_error) |
static MementoType | ParseMemento (Slice value, MetadataParseErrorFn on_error) |
Static Public Attributes | |
static constexpr bool | kRepeatable = false |
Definition at line 114 of file metadata_batch.h.
Definition at line 121 of file metadata_batch.h.
Enumerator | |
---|---|
kHttp | |
kHttps | |
kInvalid |
Definition at line 116 of file metadata_batch.h.
|
static |
Definition at line 172 of file metadata_batch.cc.
|
static |
Definition at line 161 of file metadata_batch.cc.
|
inlinestatic |
Definition at line 122 of file metadata_batch.h.
|
inlinestatic |
Definition at line 128 of file metadata_batch.h.
|
static |
Definition at line 150 of file metadata_batch.cc.
|
inlinestatic |
Definition at line 123 of file metadata_batch.h.
Definition at line 115 of file metadata_batch.h.