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

#include <metadata_batch.h>

Public Types

using MementoType = ValueType
 
enum  ValueType { kPost, kGet, kPut, 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 MementoType ParseMemento (Slice value, MetadataParseErrorFn on_error)
 

Static Public Attributes

static constexpr bool kRepeatable = false
 

Detailed Description

Definition at line 136 of file metadata_batch.h.

Member Typedef Documentation

◆ MementoType

Definition at line 144 of file metadata_batch.h.

Member Enumeration Documentation

◆ ValueType

Enumerator
kPost 
kGet 
kPut 
kInvalid 

Definition at line 138 of file metadata_batch.h.

Member Function Documentation

◆ DisplayValue()

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

Definition at line 212 of file metadata_batch.cc.

◆ Encode()

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

Definition at line 199 of file metadata_batch.cc.

◆ key()

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

Definition at line 145 of file metadata_batch.h.

◆ MementoToValue()

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

Definition at line 147 of file metadata_batch.h.

◆ ParseMemento()

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

Definition at line 183 of file metadata_batch.cc.

Member Data Documentation

◆ kRepeatable

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

Definition at line 137 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