Public Types | Static Public Member Functions | Static Public Attributes | List of all members
grpc_core::HttpSchemeMetadata Struct Reference

#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
 

Detailed Description

Definition at line 114 of file metadata_batch.h.

Member Typedef Documentation

◆ MementoType

Definition at line 121 of file metadata_batch.h.

Member Enumeration Documentation

◆ ValueType

Enumerator
kHttp 
kHttps 
kInvalid 

Definition at line 116 of file metadata_batch.h.

Member Function Documentation

◆ DisplayValue()

const char * grpc_core::HttpSchemeMetadata::DisplayValue ( MementoType  content_type)
static

Definition at line 172 of file metadata_batch.cc.

◆ Encode()

StaticSlice grpc_core::HttpSchemeMetadata::Encode ( ValueType  x)
static

Definition at line 161 of file metadata_batch.cc.

◆ key()

static absl::string_view grpc_core::HttpSchemeMetadata::key ( )
inlinestatic

Definition at line 122 of file metadata_batch.h.

◆ MementoToValue()

static ValueType grpc_core::HttpSchemeMetadata::MementoToValue ( MementoType  content_type)
inlinestatic

Definition at line 128 of file metadata_batch.h.

◆ Parse()

HttpSchemeMetadata::ValueType grpc_core::HttpSchemeMetadata::Parse ( absl::string_view  value,
MetadataParseErrorFn  on_error 
)
static

Definition at line 150 of file metadata_batch.cc.

◆ ParseMemento()

static MementoType grpc_core::HttpSchemeMetadata::ParseMemento ( Slice  value,
MetadataParseErrorFn  on_error 
)
inlinestatic

Definition at line 123 of file metadata_batch.h.

Member Data Documentation

◆ kRepeatable

constexpr bool grpc_core::HttpSchemeMetadata::kRepeatable = false
staticconstexpr

Definition at line 115 of file metadata_batch.h.


The documentation for this struct was generated from the following files:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:36